Documentation ¶
Overview ¶
Package download handles the downloading of packages.
Index ¶
- func ExtractPkg(src string) (dst string, err error)
- func FromRepo(rs goolib.RepoSpec, repo, dir string, proxyServer string) (string, error)
- func Latest(name, dir string, rm client.RepoMap, archs []string, proxyServer string) (string, error)
- func Package(pkgURL, dst, chksum string, proxyServer string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPkg ¶
ExtractPkg takes a path to a package and extracts it to a directory based on the package name, it returns the path to the extraced directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.