diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-22 13:08:11 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-22 13:08:11 -0400 |
commit | 66a62b3189c8c9b0965850e6b3c9b0fda0b50fd8 (patch) | |
tree | 70a25a2cb1973a05559eca3134979fc8be873aca /src/libstore/path.hh | |
parent | f2a6cee334255ced72a70f527cf3c283b4586e42 (diff) | |
parent | 965b80347e97169f266466603e29a57359c4083c (diff) |
Merge remote-tracking branch 'origin/master' into substitute-other-storedir
Diffstat (limited to 'src/libstore/path.hh')
-rw-r--r-- | src/libstore/path.hh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libstore/path.hh b/src/libstore/path.hh index 91962d114..a07186323 100644 --- a/src/libstore/path.hh +++ b/src/libstore/path.hh @@ -1,5 +1,6 @@ #pragma once +#include "content-address.hh" #include "types.hh" namespace nix { @@ -62,16 +63,11 @@ public: typedef std::set<StorePath> StorePathSet; typedef std::vector<StorePath> StorePaths; -typedef std::map<StorePath, std::optional<std::string>> StorePathCAMap; +typedef std::map<StorePath, std::optional<ContentAddress>> StorePathCAMap; /* Extension of derivations in the Nix store. */ const std::string drvExtension = ".drv"; -enum struct FileIngestionMethod : uint8_t { - Flat = false, - Recursive = true -}; - struct StorePathWithOutputs { StorePath path; |