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

Classes

struct  State

Public Member Functions

 CacheImpl (const Settings &_settings)
void upsert (const Key &key, const Attrs &value) override
std::optional< Attrs > lookup (const Key &key) override
std::optional< Attrs > lookupWithTTL (const Key &key) override
std::optional< Result > lookupExpired (const Key &key) override
void upsert (Key key, Store &store, Attrs value, const StorePath &storePath) override
std::optional< ResultWithStorePath > lookupStorePath (Key key, Store &store) override
std::optional< ResultWithStorePath > lookupStorePathWithTTL (Key key, Store &store) override

Public Attributes

Sync< State_state
const Settings & settings

Member Data Documentation

◆ settings

const Settings& nix::fetchers::CacheImpl::settings

This is a back-reference to the Settings that owns us.


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