PackageSupplier.fetchPackage

Downloads a package and stores it as a ZIP file.

interface PackageSupplier
void
fetchPackage
(
NativePath path
,
string package_id
,,)

Parameters

path NativePath

Absolute path of the target ZIP file

package_id string

Name of the package to retrieve

dep Dependency

Version constraint to match against

pre_release bool

If true, matches the latest pre-release version. Otherwise prefers stable versions.

Meta