diff options
author | John Ericson <git@JohnEricson.me> | 2020-03-30 11:08:13 -0400 |
---|---|---|
committer | John Ericson <git@JohnEricson.me> | 2020-03-30 11:08:13 -0400 |
commit | f5494d94429f7eda6a7fa1b48c7220f569ab0c28 (patch) | |
tree | 23272a51609927e23521c29c5670f5083341f2f7 /src/libstore/path.hh | |
parent | e433d4af4cf78c88dc0cb3e8139e835470b72fd3 (diff) | |
parent | 225e62a56a7cebb030bebffb8d2bd7afe21cc64a (diff) |
Merge remote-tracking branch 'me/enum-FileIngestionMethod' into HEAD
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 186976855..6318c20bb 100644 --- a/src/libstore/path.hh +++ b/src/libstore/path.hh @@ -87,6 +87,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; |