diff options
author | Alexander Bantyev <balsoft@balsoft.ru> | 2021-10-23 21:30:51 +0300 |
---|---|---|
committer | Alexander Bantyev <balsoft@balsoft.ru> | 2021-10-23 21:30:51 +0300 |
commit | b9234142f5e3c69f3372f15ab2e6df19c7bf6b64 (patch) | |
tree | 719e62fcb4df629c2ee024b5fd746b6185780629 /src/libstore/binary-cache-store.hh | |
parent | 4a2b7cc68c7d11ec126bc412ffea838e629345af (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.hh | 4 |
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; |