aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path.hh
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2020-03-30 11:08:13 -0400
committerJohn Ericson <git@JohnEricson.me>2020-03-30 11:08:13 -0400
commitf5494d94429f7eda6a7fa1b48c7220f569ab0c28 (patch)
tree23272a51609927e23521c29c5670f5083341f2f7 /src/libstore/path.hh
parente433d4af4cf78c88dc0cb3e8139e835470b72fd3 (diff)
parent225e62a56a7cebb030bebffb8d2bd7afe21cc64a (diff)
Merge remote-tracking branch 'me/enum-FileIngestionMethod' into HEAD
Diffstat (limited to 'src/libstore/path.hh')
-rw-r--r--src/libstore/path.hh5
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;