aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-11-09 15:57:39 +0100
committerGitHub <noreply@github.com>2021-11-09 15:57:39 +0100
commit67179472dfe30c97af9a5aeed0190c0e765936cf (patch)
tree8062dace9a6fec19a6095a13fc844ff8601313e4 /src/libstore/remote-store.hh
parent884ef336c4bf838d853056d8abb926a71786afa6 (diff)
parent0b005bc9d67b3f621bc78e5ecb2cd834172d5563 (diff)
Merge pull request #5494 from tweag/balsoft/allow-references-in-addPath
Allow references in addPath
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 5f6da9af5..6c0496b28 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -73,7 +73,7 @@ public:
/* Add a content-addressable store path. Does not support references. `dump` will be drained. */
StorePath addToStoreFromDump(Source & dump, const string & name,
- FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256, RepairFlag repair = NoRepair) override;
+ FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256, RepairFlag repair = NoRepair, const StorePathSet & references = StorePathSet()) override;
void addToStore(const ValidPathInfo & info, Source & nar,
RepairFlag repair, CheckSigsFlag checkSigs) override;