mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
LegacySSHStore: Provide a faster implementation of computeFSClosure()
This avoids the latency of the standard implementation, which can make a huge difference (e.g. 16.5s -> 0.5s on a NixOS system closure).
This commit is contained in:
parent
7a716ef2a5
commit
ea7fa88131
2 changed files with 23 additions and 1 deletions
|
@ -511,7 +511,7 @@ public:
|
|||
`storePath' is returned; that is, the closures under the
|
||||
`referrers' relation instead of the `references' relation is
|
||||
returned. */
|
||||
void computeFSClosure(const PathSet & paths,
|
||||
virtual void computeFSClosure(const PathSet & paths,
|
||||
PathSet & out, bool flipDirection = false,
|
||||
bool includeOutputs = false, bool includeDerivers = false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue