diff options
Diffstat (limited to 'src/libstore/path-info.hh')
-rw-r--r-- | src/libstore/path-info.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libstore/path-info.hh b/src/libstore/path-info.hh index f5dee00a6..a980e1243 100644 --- a/src/libstore/path-info.hh +++ b/src/libstore/path-info.hh @@ -20,12 +20,17 @@ namespace nix { class Store; -struct ValidPathInfo +template<typename Ref> +struct PathReferences +{ + std::set<Ref> references; +}; + +struct ValidPathInfo : PathReferences<StorePath> { StorePath path; std::optional<StorePath> deriver; Hash narHash; - StorePathSet references; time_t registrationTime = 0; uint64_t narSize = 0; // 0 = unknown uint64_t id; // internal use only |