versions

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindLatestAvailable added in v0.0.3

func FindLatestAvailable(prefix string) (string, error)

func FindLatestInstalled

func FindLatestInstalled(gowrapHome string) (string, error)

func FindLatestInstalledForPrefix

func FindLatestInstalledForPrefix(gowrapHome, prefix string) (string, error)

func GetVersionsDir

func GetVersionsDir(gowrapHome string) (string, error)

func InstallIfNotInstalled added in v0.0.2

func InstallIfNotInstalled(gowrapHome, version string) (bool, error)

InstallIfNotInstalled installs the requested version if not already installed. If no error, `true` will be returned if the version was installed or `false` if the version was already available.

func InstallLatestIfNotInstalled added in v0.0.2

func InstallLatestIfNotInstalled(gowrapHome, prefix string) (bool, error)

InstallLatestIfNotInstalled installs latest version for given prefix if not already installed. If no error, `true` will be returned if the version was installed or `false` if the version was already available.

func ListInstalled

func ListInstalled(gowrapHome string) ([]string, error)

func PrintAvailable

func PrintAvailable() error

func PrintInstalled

func PrintInstalled(gowrapHome string) error

func Uninstall

func Uninstall(gowrapHome, version string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL