Nix 2.34.6
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::NarInfoDiskCacheImpl Struct Reference
Inheritance diagram for nix::NarInfoDiskCacheImpl:

Classes

struct  Cache
struct  State

Public Member Functions

 NarInfoDiskCacheImpl (const Settings &settings, SQLiteSettings sqliteSettings, std::filesystem::path dbPath=getCacheDir()/"binary-cache-v7.sqlite")
Cache & getCache (State &state, const std::string &uri)
int createCache (const std::string &uri, const std::string &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

Public Attributes

const int purgeInterval = 24 * 3600
Sync< State_state

The documentation for this struct was generated from the following file:
  • /builddir/build/BUILD/nix-2.34.6-build/nix-2.34.6/src/libstore/nar-info-disk-cache.cc