DubRegistry

Undocumented in source.

Constructors

this
this(DubRegistrySettings settings)
Undocumented in source.

Members

Functions

addDownload
void addDownload(BsonObjectID pack_id, string ver, string agent)
Undocumented in source. Be warned that the author may not have intended to support it.
addPackage
void addPackage(Json repository, User.ID user)
Undocumented in source. Be warned that the author may not have intended to support it.
addVersion
bool addVersion(string packname, string ver, Repository rep, RefInfo reference)
Undocumented in source. Be warned that the author may not have intended to support it.
checkForNewVersions
void checkForNewVersions()
Undocumented in source. Be warned that the author may not have intended to support it.
getLatestVersion
string getLatestVersion(string packname)
Undocumented in source. Be warned that the author may not have intended to support it.
getPackageInfo
Json getPackageInfo(string packname, bool include_errors)
Undocumented in source. Be warned that the author may not have intended to support it.
getPackageStats
Json getPackageStats(string packname)
Undocumented in source. Be warned that the author may not have intended to support it.
getPackageStats
Json getPackageStats(string packname, string ver)
Undocumented in source. Be warned that the author may not have intended to support it.
getPackageVersionInfo
Json getPackageVersionInfo(string packname, string ver)
Undocumented in source. Be warned that the author may not have intended to support it.
getPackages
auto getPackages(User.ID user)
Undocumented in source. Be warned that the author may not have intended to support it.
getUpdateQueuePosition
sizediff_t getUpdateQueuePosition(string pack_name)

Returns the current index of a given package in the update queue.

isPackageScheduledForUpdate
bool isPackageScheduledForUpdate(string pack_name)
Undocumented in source. Be warned that the author may not have intended to support it.
isUserPackage
bool isUserPackage(User.ID user, string package_name)
Undocumented in source. Be warned that the author may not have intended to support it.
removePackage
void removePackage(string packname, User.ID user)
Undocumented in source. Be warned that the author may not have intended to support it.
removeVersion
void removeVersion(string packname, string ver)
Undocumented in source. Be warned that the author may not have intended to support it.
searchPackages
auto searchPackages(string[] keywords)
Undocumented in source. Be warned that the author may not have intended to support it.
setPackageCategories
void setPackageCategories(string pack_name, string[] categories)
Undocumented in source. Be warned that the author may not have intended to support it.
setPackageRepository
void setPackageRepository(string pack_name, Json repository)
Undocumented in source. Be warned that the author may not have intended to support it.
triggerPackageUpdate
void triggerPackageUpdate(string pack_name)
Undocumented in source. Be warned that the author may not have intended to support it.
validateRepository
string validateRepository(Json repository)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

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

Meta