Nix 2.28.2
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::eval_cache::AttrDb Struct Reference

Classes

struct  State
 

Public Member Functions

 AttrDb (const StoreDirConfig &cfg, const Hash &fingerprint, SymbolTable &symbols)
 
template<typename F>
AttrId doSQLite (F &&fun)
 
AttrId setAttrs (AttrKey key, const std::vector< Symbol > &attrs)
 
AttrId setString (AttrKey key, std::string_view s, const char **context=nullptr)
 
AttrId setBool (AttrKey key, bool b)
 
AttrId setInt (AttrKey key, int n)
 
AttrId setListOfStrings (AttrKey key, const std::vector< std::string > &l)
 
AttrId setPlaceholder (AttrKey key)
 
AttrId setMissing (AttrKey key)
 
AttrId setMisc (AttrKey key)
 
AttrId setFailed (AttrKey key)
 
std::optional< std::pair< AttrId, AttrValue > > getAttr (AttrKey key)
 

Public Attributes

std::atomic_bool failed {false}
 
const StoreDirConfig & cfg
 
std::unique_ptr< Sync< State > > _state
 
SymbolTable & symbols
 

The documentation for this struct was generated from the following file: