1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 02:01:48 +02:00

Make nix copy parallel again

FILLME
This commit is contained in:
Théophane Hufschmitt 2022-06-03 17:01:16 +02:00
parent 1dd7253133
commit 95f47c28fb
2 changed files with 115 additions and 95 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include "nar-info.hh"
#include "realisation.hh"
#include "path.hh"
#include "derived-path.hh"
@ -364,6 +365,12 @@ public:
Source & source,
RepairFlag repair = NoRepair,
CheckSigsFlag checkSigs = CheckSigs);
virtual void addMultipleToStore(
std::vector<std::pair<ValidPathInfo, std::unique_ptr<Source>>> & pathsToCopy,
Activity & act,
RepairFlag repair = NoRepair,
CheckSigsFlag checkSigs = CheckSigs
);
/* Copy the contents of a path to the store and register the
validity the resulting path. The resulting path is returned.