aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.hh
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2020-03-29 01:04:55 -0400
committerJohn Ericson <git@JohnEricson.me>2020-03-29 15:16:20 -0400
commit225e62a56a7cebb030bebffb8d2bd7afe21cc64a (patch)
tree4cd7999dab685a09aea40236d631a9c2a43e2a40 /src/libstore/remote-store.hh
parenteb1911e277bfcc1b161cb996205ae1696f496099 (diff)
Replace some `bool recursive` with a new `FileIngestionMethod` enum
Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r--src/libstore/remote-store.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh
index f301a97d8..3c86b4524 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -65,7 +65,7 @@ public:
std::shared_ptr<FSAccessor> accessor) override;
StorePath addToStore(const string & name, const Path & srcPath,
- bool recursive = true, HashType hashAlgo = htSHA256,
+ FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256,
PathFilter & filter = defaultPathFilter, RepairFlag repair = NoRepair) override;
StorePath addTextToStore(const string & name, const string & s,