RegistryPackageSupplier

Online registry based package supplier.

This package supplier connects to an online registry (e.g. https://code.dlang.org/) to search for available packages.

Constructors

this
this(URL registry)
Undocumented in source.

Members

Functions

fetchPackage
ubyte[] fetchPackage(PackageName name, VersionRange dep, bool pre_release)
Undocumented in source. Be warned that the author may not have intended to support it.
fetchPackageRecipe
Json fetchPackageRecipe(PackageName name, VersionRange dep, bool pre_release)
Undocumented in source. Be warned that the author may not have intended to support it.
genPackageDownloadUrl
auto genPackageDownloadUrl(PackageName name, VersionRange dep, bool pre_release)
Undocumented in source. Be warned that the author may not have intended to support it.
getVersions
Version[] getVersions(PackageName name)
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
deprecated Version[] getVersions(string name)

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

getVersions
Version[] getVersions(PackageName name)
Undocumented in source.
fetchPackage
ubyte[] fetchPackage(PackageName name, VersionRange dep, bool pre_release)

Downloads a package and returns its binary content

fetchPackage
deprecated void fetchPackage(NativePath path, PackageName name, VersionRange dep, bool pre_release)
Undocumented in source. Be warned that the author may not have intended to support it.
fetchPackage
deprecated void fetchPackage(NativePath path, string name, Dependency dep, bool pre_release)
Undocumented in source. Be warned that the author may not have intended to support it.
fetchPackageRecipe
Json fetchPackageRecipe(PackageName name, VersionRange dep, bool pre_release)

Retrieves only the recipe of a particular package.

fetchPackageRecipe
deprecated Json fetchPackageRecipe(string name, Dependency dep, bool pre_release)
Undocumented in source. Be warned that the author may not have intended to support it.
searchPackages
SearchResult[] searchPackages(string query)

Searches for packages matching the given search query term.

Meta