mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
separated references and referrers both into 4 tables: links from: component or state to: state or component
This commit is contained in:
parent
9d7438db9f
commit
eb1f179eac
2 changed files with 169 additions and 78 deletions
|
|
@ -406,6 +406,20 @@ void run(Strings args)
|
|||
return;
|
||||
|
||||
*/
|
||||
|
||||
Paths p1;
|
||||
p1.push_back("a");
|
||||
p1.push_back("b");
|
||||
p1.push_back("c");
|
||||
Paths p2;
|
||||
p2.push_back("b");
|
||||
p2.push_back("d");
|
||||
|
||||
PathSet px = pathSets_union(PathSet(p1.begin(), p1.end()), PathSet(p2.begin(), p2.end()));
|
||||
|
||||
for (PathSet::iterator i = px.begin(); i != px.end(); ++i)
|
||||
printMsg(lvlError, format("MERGED: %1%") % *i);
|
||||
return;
|
||||
|
||||
/* test */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue