Documentation ¶
Overview ¶
Package install handles the installation of packages.
Index ¶
- func FromDisk(arg, cache string, state *client.GooGetState, dbOnly, ri bool) error
- func FromRepo(pi goolib.PackageInfo, repo, cache string, rm client.RepoMap, archs []string, ...) error
- func Latest(pi goolib.PackageInfo, cache string, rm client.RepoMap, archs []string, ...) error
- func ListDeps(pi goolib.PackageInfo, rm client.RepoMap, repo string, archs []string) ([]goolib.PackageInfo, error)
- func NeedsInstallation(pi goolib.PackageInfo, state client.GooGetState) (bool, error)
- func Reinstall(ps client.PackageState, state client.GooGetState, rd bool, proxyServer string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromDisk ¶
func FromDisk(arg, cache string, state *client.GooGetState, dbOnly, ri bool) error
FromDisk installs a local .goo file.
func FromRepo ¶
func FromRepo(pi goolib.PackageInfo, repo, cache string, rm client.RepoMap, archs []string, state *client.GooGetState, dbOnly bool, proxyServer string) error
FromRepo installs a package and all dependencies from a repository.
func Latest ¶
func Latest(pi goolib.PackageInfo, cache string, rm client.RepoMap, archs []string, state *client.GooGetState, dbOnly bool, proxyServer string) error
Latest installs the latest version of a package.
func ListDeps ¶
func ListDeps(pi goolib.PackageInfo, rm client.RepoMap, repo string, archs []string) ([]goolib.PackageInfo, error)
ListDeps returns a list of dependencies and subdependancies for a package.
func NeedsInstallation ¶
func NeedsInstallation(pi goolib.PackageInfo, state client.GooGetState) (bool, error)
NeedsInstallation checks if a package version needs installation.
func Reinstall ¶
func Reinstall(ps client.PackageState, state client.GooGetState, rd bool, proxyServer string) error
Reinstall reinstalls and optionally redownloads, a package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.