mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 07:22:43 +01:00
copyPaths(): Use queryValidPaths() to reduce SSH latency
This commit is contained in:
parent
91d67692cf
commit
c5b83d8913
10 changed files with 45 additions and 37 deletions
|
|
@ -669,7 +669,7 @@ bool LocalStore::isValidPathUncached(const Path & path)
|
|||
}
|
||||
|
||||
|
||||
PathSet LocalStore::queryValidPaths(const PathSet & paths)
|
||||
PathSet LocalStore::queryValidPaths(const PathSet & paths, bool maybeSubstitute)
|
||||
{
|
||||
PathSet res;
|
||||
for (auto & i : paths)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue