mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 05:00:58 +01:00
Added some state-specific garbage collection code (not complete yet)
This commit is contained in:
parent
43d93e5e64
commit
d69dd855d5
18 changed files with 199 additions and 103 deletions
|
|
@ -115,7 +115,7 @@ void printDotGraph(const PathSet & roots)
|
|||
//Lookup all references
|
||||
PathSet references;
|
||||
PathSet stateReferences;
|
||||
store->queryReferences(path, references, 0);
|
||||
store->queryStoreReferences(path, references, 0);
|
||||
store->queryStateReferences(path, stateReferences, 0);
|
||||
PathSet allReferences = pathSets_union(references, stateReferences);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue