diff options
author | John Ericson <git@JohnEricson.me> | 2020-03-29 01:04:55 -0400 |
---|---|---|
committer | John Ericson <git@JohnEricson.me> | 2020-03-29 15:16:20 -0400 |
commit | 225e62a56a7cebb030bebffb8d2bd7afe21cc64a (patch) | |
tree | 4cd7999dab685a09aea40236d631a9c2a43e2a40 /src/libstore/path.hh | |
parent | eb1911e277bfcc1b161cb996205ae1696f496099 (diff) |
Replace some `bool recursive` with a new `FileIngestionMethod` enum
Diffstat (limited to 'src/libstore/path.hh')
-rw-r--r-- | src/libstore/path.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/path.hh b/src/libstore/path.hh index c90bb1fff..73c4b8e29 100644 --- a/src/libstore/path.hh +++ b/src/libstore/path.hh @@ -73,6 +73,11 @@ const size_t storePathHashLen = 32; // i.e. 160 bits /* Extension of derivations in the Nix store. */ const std::string drvExtension = ".drv"; +enum struct FileIngestionMethod : bool { + Flat = false, + Recursive = true +}; + struct StorePathWithOutputs { StorePath path; |