1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 05:00:58 +01:00

before removing isStateComponentTxn

This commit is contained in:
Wouter den Breejen 2007-07-09 14:30:57 +00:00
parent 9257f16c85
commit b7654ab716
10 changed files with 151 additions and 111 deletions

View file

@ -111,11 +111,12 @@ void printDotGraph(const PathSet & roots)
cout << makeNode(path, symbolicName(path), "#ff0000");
PathSet references;
store->queryReferences(path, references, -1); //TODO maybe also include state paths?
PathSet allReferences;
store->queryAllReferences(path, allReferences, -1);
for (PathSet::iterator i = references.begin();
i != references.end(); ++i)
for (PathSet::iterator i = allReferences.begin();
i != allReferences.end(); ++i)
{
if (*i != path) {
workList.insert(*i);