Documentation ¶
Index ¶
- func DeleteInstallation(installation types.Installation)
- func DownloadAsset(pkg repositoriesTypes.Package, release repositoriesTypes.Release, ...) (string, error)
- func ExtractAsset(fileName, executableName string) (string, error)
- func FindInstallation(executableNameOrAlias string) *types.Installation
- func FindInstallations(executableName string) []types.Installation
- func FindPackage(packages []repositoriesTypes.Package, installation types.Installation) *repositoriesTypes.Package
- func GetAssetToDownloadForBinary(pkg repositoriesTypes.Package, assets []repositoriesTypes.Asset, ...) (*repositoriesTypes.Asset, error)
- func GetUpgradable(packages []repositoriesTypes.Package, installations types.Installations) []repositoriesTypes.Package
- func InstallPackage(availablePackages []repositoriesTypes.Package, executableName, alias string, ...) error
- func LoadInstallations() types.Installations
- func MoveAssetToBin(assetName, alias string) error
- func NotifyNewVersions(packages []repositoriesTypes.Package, installations types.Installations)
- func SaveInstallation(installation types.Installation)
- func SaveInstallations(installations types.Installations)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteInstallation ¶
func DeleteInstallation(installation types.Installation)
func DownloadAsset ¶
func DownloadAsset(pkg repositoriesTypes.Package, release repositoriesTypes.Release, interactive bool) (string, error)
func ExtractAsset ¶
func FindInstallation ¶
func FindInstallation(executableNameOrAlias string) *types.Installation
func FindInstallations ¶
func FindInstallations(executableName string) []types.Installation
func FindPackage ¶
func FindPackage(packages []repositoriesTypes.Package, installation types.Installation) *repositoriesTypes.Package
func GetAssetToDownloadForBinary ¶
func GetAssetToDownloadForBinary(pkg repositoriesTypes.Package, assets []repositoriesTypes.Asset, interactive bool) (*repositoriesTypes.Asset, error)
func GetUpgradable ¶
func GetUpgradable(packages []repositoriesTypes.Package, installations types.Installations) []repositoriesTypes.Package
func InstallPackage ¶
func InstallPackage(availablePackages []repositoriesTypes.Package, executableName, alias string, interactive bool, userConfig types.UserConfig, installFox, force bool) error
func LoadInstallations ¶
func LoadInstallations() types.Installations
func MoveAssetToBin ¶
func NotifyNewVersions ¶
func NotifyNewVersions(packages []repositoriesTypes.Package, installations types.Installations)
func SaveInstallation ¶
func SaveInstallation(installation types.Installation)
func SaveInstallations ¶
func SaveInstallations(installations types.Installations)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.