- 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.
- addOrSetPackage
void addOrSetPackage(DbPackage pack)
Undocumented in source. Be warned that the author may not have intended to support it.
- addPackage
void addPackage(DbRepository 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.
- downloadPackageZip
void downloadPackageZip(string packname, string vers, void delegate(scope InputStream) del)
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.
- getPackageDump
auto getPackageDump()
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageInfo
PackageInfo getPackageInfo(string packname, bool include_errors)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageInfo
PackageInfo getPackageInfo(DbPackage pack, 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.
- getReadme
string getReadme(Json version_info, DbRepository repository)
Undocumented in source. Be warned that the author may not have intended to support it.
- getRepositoryInfo
RepositoryInfo getRepositoryInfo(DbRepository repository)
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 query)
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, DbRepository 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(DbRepository repository)
Undocumented in source. Be warned that the author may not have intended to support it.