Documentation ¶
Index ¶
- func Current() string
- func Deactivate() ([]string, error)
- func GetAlias(name string) string
- func GetLink(name string) string
- func Install(selector string, dst string) (string, error)
- func Link(selector string, dir string) error
- func LinkAlias(name string) error
- func LinkLatest() error
- func Ls() ([]*semver.Version, error)
- func LsBestMatch(selector string) (ver string, err error)
- func LsBestMatchWithVersionSlice(vs []*semver.Version, selector string) (ver string, err error)
- func LsRemote(os, arch string) (map[*semver.Version]string, error)
- func SetAlias(name string, ver string) (err error)
- func Uninstall(selector string) error
- func Use(selector string) ([]string, error)
- func Which(selector string, home bool) (string, error)
- type RedirectTracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deactivate ¶
func LinkLatest ¶
func LinkLatest() error
func LsBestMatch ¶
Types ¶
type RedirectTracer ¶
type RedirectTracer struct {
Transport http.RoundTripper
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.