Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::fetchers::CacheImpl Struct Reference
Inheritance diagram for nix::fetchers::CacheImpl:
nix::fetchers::Cache

Classes

struct  State

Public Member Functions

void add (ref< Store > store, const Attrs &inAttrs, const Attrs &infoAttrs, const StorePath &storePath, bool locked) override
kj::Promise< Result< std::optional< std::pair< Attrs, StorePath > > > > lookup (ref< Store > store, const Attrs &inAttrs) override
kj::Promise< Result< std::optional< LookupResult > > > lookupExpired (ref< Store > store, const Attrs &inAttrs) override

Public Attributes

Sync< State_state

Member Function Documentation

◆ add()

void nix::fetchers::CacheImpl::add ( ref< Store > store,
const Attrs & inAttrs,
const Attrs & infoAttrs,
const StorePath & storePath,
bool locked )
inlineoverridevirtual

Implements nix::fetchers::Cache.

◆ lookup()

kj::Promise< Result< std::optional< std::pair< Attrs, StorePath > > > > nix::fetchers::CacheImpl::lookup ( ref< Store > store,
const Attrs & inAttrs )
inlineoverridevirtual

Implements nix::fetchers::Cache.

◆ lookupExpired()

kj::Promise< Result< std::optional< LookupResult > > > nix::fetchers::CacheImpl::lookupExpired ( ref< Store > store,
const Attrs & inAttrs )
inlineoverridevirtual

Implements nix::fetchers::Cache.


The documentation for this struct was generated from the following file:
  • lix/libfetchers/cache.cc