FileSystemPackageSupplier

File system based package supplier.

This package supplier searches a certain directory for files with names of the form "[package name]-version.zip".

Constructors

this
this(NativePath root)
Undocumented in source.

Members

Functions

fetchPackage
void fetchPackage(NativePath path, string packageId, Dependency dep, bool pre_release)
Undocumented in source. Be warned that the author may not have intended to support it.
fetchPackageRecipe
Json fetchPackageRecipe(string packageId, Dependency dep, bool pre_release)
Undocumented in source. Be warned that the author may not have intended to support it.
getVersions
Version[] getVersions(string package_id)
Undocumented in source. Be warned that the author may not have intended to support it.
searchPackages
SearchResult[] searchPackages(string query)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

description
string description [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From PackageSupplier

SearchResult
struct SearchResult

Represents a single package search result.

description
string description [@property getter]

Returns a human-readable representation of the package supplier.

getVersions
Version[] getVersions(string package_id)

Retrieves a list of all available versions(/branches) of a package.

fetchPackage
void fetchPackage(NativePath path, string package_id, Dependency dep, bool pre_release)

Downloads a package and stores it as a ZIP file.

fetchPackageRecipe
Json fetchPackageRecipe(string package_id, Dependency dep, bool pre_release)

Retrieves only the recipe of a particular package.

searchPackages
SearchResult[] searchPackages(string query)

Searches for packages matching the given search query term.

Meta