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: Version constraint to match against

pre release

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

Meta