1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 12:41:00 +01:00

Added state marshall functions in RemoteStore.cc (still unfinished in Nix-worker.cc)

This commit is contained in:
Wouter den Breejen 2007-08-27 18:54:05 +00:00
parent bdcce95a39
commit 2e7539bd27
18 changed files with 423 additions and 224 deletions

View file

@ -211,8 +211,12 @@ static void printTree(const Path & path,
cout << format("%1%%2%\n") % firstPad % path;
PathSet allReferences;
store->queryAllReferences(path, allReferences, -1);
//Lookup all references
PathSet references;
PathSet stateReferences;
store->queryReferences(path, references, -1);
store->queryStateReferences(path, stateReferences, -1);
PathSet allReferences = pathSets_union(references, stateReferences);
#if 0
for (PathSet::iterator i = drv.inputSrcs.begin();