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.

class RegistryPackageSupplier : PackageSupplier {}

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