mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
WIP: Make Hash always store a valid hash type
This commit is contained in:
parent
984e521392
commit
20799a5151
8 changed files with 53 additions and 52 deletions
|
@ -116,7 +116,8 @@ struct ValidPathInfo
|
|||
{
|
||||
StorePath path;
|
||||
std::optional<StorePath> deriver;
|
||||
Hash narHash;
|
||||
// TODO document this
|
||||
std::optional<Hash> narHash;
|
||||
StorePathSet references;
|
||||
time_t registrationTime = 0;
|
||||
uint64_t narSize = 0; // 0 = unknown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue