|
| NarInfoDiskCacheImpl (Path dbPath=getCacheDir()+"/binary-cache-v6.sqlite") |
|
Cache & | getCache (State &state, const std::string &uri) |
|
int | createCache (const std::string &uri, const Path &storeDir, bool wantMassQuery, int priority) override |
|
std::optional< CacheInfo > | upToDateCacheExists (const std::string &uri) override |
|
std::pair< Outcome, std::shared_ptr< NarInfo > > | lookupNarInfo (const std::string &uri, const std::string &hashPart) override |
|
std::pair< Outcome, std::shared_ptr< Realisation > > | lookupRealisation (const std::string &uri, const DrvOutput &id) override |
|
void | upsertNarInfo (const std::string &uri, const std::string &hashPart, std::shared_ptr< const ValidPathInfo > info) override |
|
void | upsertRealisation (const std::string &uri, const Realisation &realisation) override |
|
virtual void | upsertAbsentRealisation (const std::string &uri, const DrvOutput &id) override |
|
|
const int | purgeInterval = 24 * 3600 |
|
const int | cacheInfoTtl = 7 * 24 * 3600 |
|
Sync< State > | _state |
|
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/nix-2.29.0-build/nix-2.29.0/src/libstore/nar-info-disk-cache.cc