diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-13 17:37:44 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-13 18:31:19 +0200 |
commit | 545bb2ed03001cd7a80a90f73eb500f396c043a1 (patch) | |
tree | 88b32b1885f848788fb3695b7f5dcb1fc68f14d6 /src/libstore/export-import.cc | |
parent | 0a9da00a10fa27a3e3b98439cb0a7d5e79135b58 (diff) |
Remove 'accessor' from addToStore()
This is only used by hydra-queue-runner and it's better to implement
it there.
Diffstat (limited to 'src/libstore/export-import.cc')
-rw-r--r-- | src/libstore/export-import.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/export-import.cc b/src/libstore/export-import.cc index ae31cbcb0..082d0f1d1 100644 --- a/src/libstore/export-import.cc +++ b/src/libstore/export-import.cc @@ -51,7 +51,7 @@ void Store::exportPath(const StorePath & path, Sink & sink) << 0; } -StorePaths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor, CheckSigsFlag checkSigs) +StorePaths Store::importPaths(Source & source, CheckSigsFlag checkSigs) { StorePaths res; while (true) { @@ -86,7 +86,7 @@ StorePaths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> acces // Can't use underlying source, which would have been exhausted auto source = StringSource { *tee.saved.s }; - addToStore(info, source, NoRepair, checkSigs, accessor); + addToStore(info, source, NoRepair, checkSigs); res.push_back(info.path); } |