Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoMatchingVersion = errors.New("no Bun version satisfies constraint")
)
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
Downloader handles downloading Bun binaries
func NewDownloader ¶
func NewDownloader(cacheDir string, verbose, quiet bool) *Downloader
NewDownloader creates a new downloader
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver handles Bun version resolution
func NewResolver ¶
func NewResolver(source VersionSource) *Resolver
NewResolver creates a new resolver with the given version source
type VersionSource ¶
VersionSource provides available Bun versions
Click to show internal directories.
Click to hide internal directories.