installations

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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 ExtractAsset(fileName, executableName string) (string, error)

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 MoveAssetToBin(assetName, alias string) error

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.

Jump to

Keyboard shortcuts

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