diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-16T10·44+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-16T10·44+0100 |
commit | ea7fa88131eb486ffe54f32601d36a64374f7b7c (patch) | |
tree | 2d992af6444a592910de29406b717169cdc94d63 /src/libstore/store-api.hh | |
parent | 7a716ef2a5759506e602f3ceaaadc42edbf6d12f (diff) |
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).
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 3aea30c286ac..92aa8862f658 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -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); |