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:
parent
9257f16c85
commit
b7654ab716
10 changed files with 151 additions and 111 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue