- addDownload
BsonObjectID addDownload(BsonObjectID pack, string ver, string user_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(DbPackage pack)
Undocumented in source. Be warned that the author may not have intended to support it.
- addVersion
void addVersion(string packname, DbPackageVersion ver)
Undocumented in source. Be warned that the author may not have intended to support it.
- aggregateDownloadStats
DbDownloadStats aggregateDownloadStats(BsonObjectID packId, string ver)
Undocumented in source. Be warned that the author may not have intended to support it.
- getAllPackageIDs
auto getAllPackageIDs()
Undocumented in source. Be warned that the author may not have intended to support it.
- getAllPackages
auto getAllPackages()
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.
- getPackage
DbPackage getPackage(string packname)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackage
DbPackage getPackage(BsonObjectID id)
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.
- getPackageID
BsonObjectID getPackageID(string packname)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageStats
DbPackageStats getPackageStats(string packname)
Undocumented in source. Be warned that the author may not have intended to support it.
- getUserPackages
auto getUserPackages(BsonObjectID user_id)
Undocumented in source. Be warned that the author may not have intended to support it.
- getVersionInfo
DbPackageVersion getVersionInfo(string packname, string ver)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasVersion
bool hasVersion(string packname, string ver)
Undocumented in source. Be warned that the author may not have intended to support it.
- isUserPackage
bool isUserPackage(BsonObjectID user_id, string package_name)
Undocumented in source. Be warned that the author may not have intended to support it.
- removePackage
void removePackage(string packname, BsonObjectID 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
DbPackage[] searchPackages(string query)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPackageCategories
void setPackageCategories(string packname, string[] categories)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPackageErrors
void setPackageErrors(string packname, string[] error)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPackageRepository
void setPackageRepository(string packname, DbRepository repo)
Undocumented in source. Be warned that the author may not have intended to support it.
- updatePackageStats
void updatePackageStats(BsonObjectID packId, DbPackageStats stats)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateVersion
void updateVersion(string packname, DbPackageVersion ver)
Undocumented in source. Be warned that the author may not have intended to support it.