- 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(DbPackage dbpack, string ver, Repository rep, RefInfo reference)
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) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- getDownloadStats
DbDownloadStats getDownloadStats(string packname, string ver)
get downloads for a package version
- 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, PackageInfoFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageInfo
auto getPackageInfo(DbPackage pack, PackageInfoFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageInfos
auto getPackageInfos(string[] pack_names, PackageInfoFlags flags)
Gets information about multiple packages at once.
- getPackageInfosRecursive
PackageInfo[string] getPackageInfosRecursive(string[] packnames, PackageInfoFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageLogo
bdata_t getPackageLogo(string pack_name, bdata_t rev)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageStats
DbPackageStats getPackageStats(string packname)
get stats (including downloads of all version) for a package
- getPackageVersionInfo
Json getPackageVersionInfo(string packname, string ver, PackageInfoFlags flags)
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.
- setDocumentationURL
void setDocumentationURL(string pack_name, string documentationURL)
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.
- setPackageLogo
void setPackageLogo(string pack_name, NativePath path)
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.
- unsetPackageLogo
void unsetPackageLogo(string pack_name)
Undocumented in source. Be warned that the author may not have intended to support it.
- updatePackages
void updatePackages()
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.