Dub.fetch
- Package fetch(string packageId, Dependency dep, PlacementLocation location, FetchOptions options, string reason)
- Package fetch(string name, Version vers, PlacementLocation location, FetchOptions options, string reason)
- Package fetch(string name, VersionRange range, PlacementLocation location, FetchOptions options, string reason)
- Package fetch(PackageName name, Version vers, FetchOptions options, string reason)
- Package fetch(PackageName name, Version vers, FetchOptions options, PlacementLocation location, string reason)
- Package fetch(PackageName name, Version vers, FetchOptions options, PlacementLocation location, IntegrityTag integrity)
- Package fetch(PackageName name, VersionRange range, FetchOptions options, string reason)
- Package fetch(PackageName name, VersionRange range, FetchOptions options, PlacementLocation location, string reason)
- Package fetch(PackageName name, VersionRange range, FetchOptions options, PlacementLocation location, IntegrityTag tag, string reason)
dub dub Dub
constructorsfunctionsmanifest constantspropertiesvariables
Fetches a missing package and stores it locally
This will query the configured PackageSuppliers for a package matching the range specification, store it locally, and load it in the PackageManager. Note that unlike the command line version, this function is not idempotent and will remove an existing package and re-download it.