diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-19 18:41:33 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-19 19:32:29 +0000 |
commit | 20799a5151cbb185c1772b8e5160493b2dc2d0e8 (patch) | |
tree | 9eeec94504608c40e9ca77ad396b44bec77224a4 /src/libstore/store-api.hh | |
parent | 984e521392b3f41f7cdab203e5c00f3e00e27a28 (diff) |
WIP: Make Hash always store a valid hash type
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index a05048290..de9b6a791 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -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 |