install

package
v2.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package install handles the installation of packages.

Index

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.

Jump to

Keyboard shortcuts

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