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

Public Member Functions

 NarInfo (const Store &store, std::string &&name, ContentAddressWithReferences &&ca, Hash narHash)
 NarInfo (StorePath &&path, Hash narHash)
 NarInfo (const ValidPathInfo &info)
 NarInfo (const Store &store, const std::string_view &s, const std::string_view &whence)
std::string to_string (const Store &store) const
Public Member Functions inherited from nix::ValidPathInfo
 DECLARE_CMP (ValidPathInfo)
std::string fingerprint (const Store &store) const
void sign (const Store &store, const SecretKey &secretKey)
std::optional< ContentAddressWithReferencescontentAddressWithReferences () const
bool isContentAddressed (const Store &store) const
size_t checkSignatures (const Store &store, const PublicKeys &publicKeys) const
bool checkSignature (const Store &store, const PublicKeys &publicKeys, const std::string &sig) const
Strings shortRefs () const
 ValidPathInfo (const ValidPathInfo &other)=default
 ValidPathInfo (StorePath &&path, UnkeyedValidPathInfo info)
 ValidPathInfo (const StorePath &path, UnkeyedValidPathInfo info)
 ValidPathInfo (const Store &store, std::string_view name, ContentAddressWithReferences &&ca, Hash narHash)
Public Member Functions inherited from nix::UnkeyedValidPathInfo
 UnkeyedValidPathInfo (const UnkeyedValidPathInfo &other)=default
 UnkeyedValidPathInfo (Hash narHash)
 DECLARE_CMP (UnkeyedValidPathInfo)

Public Attributes

std::string url
std::string compression
std::optional< HashfileHash
uint64_t fileSize = 0
Public Attributes inherited from nix::ValidPathInfo
StorePath path
Public Attributes inherited from nix::UnkeyedValidPathInfo
std::optional< StorePathderiver
Hash narHash
StorePathSet references
time_t registrationTime = 0
uint64_t narSize = 0
uint64_t id = 0
bool ultimate = false
StringSet sigs
std::optional< ContentAddressca

Additional Inherited Members

Static Public Attributes inherited from nix::ValidPathInfo
static const size_t maxSigs = std::numeric_limits<size_t>::max()

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