aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.hh
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft@balsoft.ru>2021-10-23 21:30:51 +0300
committerAlexander Bantyev <balsoft@balsoft.ru>2021-10-23 21:30:51 +0300
commitb9234142f5e3c69f3372f15ab2e6df19c7bf6b64 (patch)
tree719e62fcb4df629c2ee024b5fd746b6185780629 /src/libstore/remote-store.hh
parent4a2b7cc68c7d11ec126bc412ffea838e629345af (diff)
addToStore, addToStoreFromDump: add references argument
Allow to pass a set of references to be added as info to the added paths.
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 ac1eaa19e..31eb1871a 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, StorePathSet references = StorePathSet()) override;
void addToStore(const ValidPathInfo & info, Source & nar,
RepairFlag repair, CheckSigsFlag checkSigs) override;