![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <nar-info.hh>
Public Member Functions | |
| NarInfo (ValidPathInfo info) | |
| NarInfo (const StoreDirConfig &store, StorePath path, Hash narHash) | |
| NarInfo (std::string storeDir, StorePath path, Hash narHash) | |
| NarInfo (const StoreDirConfig &store, const std::string &s, const std::string &whence) | |
| bool | operator== (const NarInfo &) const =default |
| std::string | to_string (const StoreDirConfig &store) const |
| Public Member Functions inherited from nix::ValidPathInfo | |
| bool | operator== (const ValidPathInfo &) const =default |
| auto | operator<=> (const ValidPathInfo &) const =default |
| std::string | fingerprint (const StoreDirConfig &store) const |
| void | sign (const Store &store, const Signer &signer) |
| void | sign (const Store &store, const std::vector< std::unique_ptr< Signer > > &signers) |
| std::optional< ContentAddressWithReferences > | contentAddressWithReferences () const |
| bool | isContentAddressed (const StoreDirConfig &store) const |
| size_t | checkSignatures (const StoreDirConfig &store, const PublicKeys &publicKeys) const |
| bool | checkSignature (const StoreDirConfig &store, const PublicKeys &publicKeys, const Signature &sig) const |
| Strings | shortRefs () const |
| ValidPathInfo (StorePath &&path, UnkeyedValidPathInfo info) | |
| ValidPathInfo (const StorePath &path, UnkeyedValidPathInfo info) | |
| Public Member Functions inherited from nix::UnkeyedValidPathInfo | |
| UnkeyedValidPathInfo (const UnkeyedValidPathInfo &other)=default | |
| UnkeyedValidPathInfo (const StoreDirConfig &store, Hash narHash) | |
| UnkeyedValidPathInfo (std::string storeDir, Hash narHash) | |
| bool | operator== (const UnkeyedValidPathInfo &) const noexcept |
| std::weak_ordering | operator<=> (const UnkeyedValidPathInfo &) const noexcept |
| Public Member Functions inherited from nix::UnkeyedNarInfo | |
| UnkeyedNarInfo (UnkeyedValidPathInfo info) | |
| bool | operator== (const UnkeyedNarInfo &) const =default |
| nlohmann::json | toJSON (const StoreDirConfig *store, bool includeImpureInfo, PathInfoJsonFormat format) const override |
Static Public Member Functions | |
| static NarInfo | makeFromCA (const StoreDirConfig &store, std::string_view name, ContentAddressWithReferences ca, Hash narHash) |
| Static Public Member Functions inherited from nix::ValidPathInfo | |
| static ValidPathInfo | makeFromCA (const StoreDirConfig &store, std::string_view name, ContentAddressWithReferences &&ca, Hash narHash) |
| Static Public Member Functions inherited from nix::UnkeyedValidPathInfo | |
| static UnkeyedValidPathInfo | fromJSON (const StoreDirConfig *store, const nlohmann::json &json) |
| Static Public Member Functions inherited from nix::UnkeyedNarInfo | |
| static UnkeyedNarInfo | fromJSON (const StoreDirConfig *store, const nlohmann::json &json) |
Additional Inherited Members | |
| Public Attributes inherited from nix::ValidPathInfo | |
| StorePath | path |
| Public Attributes inherited from nix::UnkeyedValidPathInfo | |
| std::string | storeDir |
| std::optional< StorePath > | deriver |
| Hash | narHash |
| StorePathSet | references |
| time_t | registrationTime = 0 |
| uint64_t | narSize = 0 |
| bool | ultimate = false |
| std::set< Signature > | sigs |
| std::optional< ContentAddress > | ca |
| Public Attributes inherited from nix::UnkeyedNarInfo | |
| std::string | url |
| std::optional< CompressionAlgo > | compression |
| std::optional< Hash > | fileHash |
| uint64_t | fileSize = 0 |
| Static Public Attributes inherited from nix::ValidPathInfo | |
| static const size_t | maxSigs = std::numeric_limits<size_t>::max() |
Key and the extra NAR fields