mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 05:00:58 +01:00
added scanAndUpdateAllReferencesTxn(..) moving on to create a db-table that can save state-revision-closures and state-revision-reference-closures
This commit is contained in:
parent
1c3ec86c39
commit
ad2b815b5e
10 changed files with 235 additions and 184 deletions
|
|
@ -67,7 +67,7 @@ void computeFSClosureRec(const Path & path, PathSet & paths, const bool & flipDi
|
|||
}
|
||||
|
||||
PathSet allReferences;
|
||||
allReferences = mergePathSets(references, stateReferences);
|
||||
allReferences = pathSets_union(references, stateReferences);
|
||||
|
||||
for (PathSet::iterator i = allReferences.begin(); i != allReferences.end(); ++i)
|
||||
computeFSClosureRec(*i, paths, flipDirection);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue