mirror of
https://github.com/NixOS/nix
synced 2025-07-04 15:31:47 +02:00
* Made `nix-store -qR --include-outputs' much faster if there are
multiple paths specified on the command line (from O(n * m) to O(n + m), where n is the number of arguments and m is the size of the closure).
This commit is contained in:
parent
50e34891f0
commit
fdcaf37361
3 changed files with 13 additions and 41 deletions
|
@ -19,7 +19,8 @@ Derivation derivationFromPath(const Path & drvPath);
|
|||
`referrers' relation instead of the `references' relation is
|
||||
returned. */
|
||||
void computeFSClosure(const Path & storePath,
|
||||
PathSet & paths, bool flipDirection = false);
|
||||
PathSet & paths, bool flipDirection = false,
|
||||
bool includeOutputs = false);
|
||||
|
||||
/* Return the path corresponding to the output identifier `id' in the
|
||||
given derivation. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue