![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| UnkeyedNarInfo (UnkeyedValidPathInfo info) | |
| bool | operator== (const UnkeyedNarInfo &) const =default |
| nlohmann::json | toJSON (const StoreDirConfig *store, bool includeImpureInfo, PathInfoJsonFormat format) const override |
| 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 |
Static Public Member Functions | |
| static UnkeyedNarInfo | fromJSON (const StoreDirConfig *store, const nlohmann::json &json) |
| Static Public Member Functions inherited from nix::UnkeyedValidPathInfo | |
| static UnkeyedValidPathInfo | fromJSON (const StoreDirConfig *store, const nlohmann::json &json) |
Public Attributes | |
| std::string | url |
| std::optional< CompressionAlgo > | compression |
| std::optional< Hash > | fileHash |
| uint64_t | fileSize = 0 |
| 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 |
|
overridevirtual |
| store | If non-null, store paths are rendered as full paths. If null, store paths are rendered as base names. |
| includeImpureInfo | If true, variable elements such as the registration time are included. |
| format | JSON format version. Version 1 uses string hashes and string content addresses. Version 2 uses structured hashes and structured content addresses. |
Reimplemented from nix::UnkeyedValidPathInfo.