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/remote-store.hh | |
parent | eb1911e277bfcc1b161cb996205ae1696f496099 (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.hh | 2 |
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, |