aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-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/binary-cache-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/binary-cache-store.hh')
-rw-r--r--src/libstore/binary-cache-store.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh
index 723f2e805..d8f077db2 100644
--- a/src/libstore/binary-cache-store.hh
+++ b/src/libstore/binary-cache-store.hh
@@ -97,11 +97,11 @@ public:
RepairFlag repair, CheckSigsFlag checkSigs) override;
StorePath addToStoreFromDump(Source & dump, const string & name,
- FileIngestionMethod method, HashType hashAlgo, RepairFlag repair) override;
+ FileIngestionMethod method, HashType hashAlgo, RepairFlag repair, StorePathSet references ) override;
StorePath addToStore(const string & name, const Path & srcPath,
FileIngestionMethod method, HashType hashAlgo,
- PathFilter & filter, RepairFlag repair) override;
+ PathFilter & filter, RepairFlag repair, StorePathSet references) override;
StorePath addTextToStore(const string & name, const string & s,
const StorePathSet & references, RepairFlag repair) override;