Documentation
¶
Overview ¶
Package pkgdownload provides interfaces and utility functions to download gno packages files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(pkgPath string, dst string, fetcher PackageFetcher) error
Download downloads the package identified by `pkgPath` in the directory at `dst` using the provided PackageFetcher. The directory at `dst` is created if it does not exists.
Types ¶
type PackageFetcher ¶
func NewNoopFetcher ¶
func NewNoopFetcher() PackageFetcher
Click to show internal directories.
Click to hide internal directories.