mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Revert "LocalStore::addToStoreFromDump copy in chunks"
This reverts commit 592851fb67
. We don't
need this extra feature anymore
This commit is contained in:
parent
bc109648c4
commit
5602637d9e
3 changed files with 15 additions and 31 deletions
|
@ -1037,7 +1037,7 @@ StorePath LocalStore::addToStore(const string & name, const Path & _srcPath,
|
|||
FileIngestionMethod method, HashType hashAlgo, PathFilter & filter, RepairFlag repair)
|
||||
{
|
||||
Path srcPath(absPath(_srcPath));
|
||||
auto source = sinkToSource([&](Sink & sink, size_t & wanted) {
|
||||
auto source = sinkToSource([&](Sink & sink) {
|
||||
if (method == FileIngestionMethod::Recursive)
|
||||
dumpPath(srcPath, sink, filter);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue