diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-25T11·43+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-25T11·43+0000 |
commit | 818047881e4906c670104851f69c3179ecc7fb1f (patch) | |
tree | a89d6e93403065aca4cfaefdaef2706e04ebf962 /src/libstore/normalise.hh | |
parent | 9994c1dd9fe19a3bb8f7bbddbcd5622c9c30d85b (diff) |
* Put the garbage collector in nix-store: operation `--gc',
suboperations `--print-live', `--print-dead', and `--delete'. The roots are not determined by nix-store; they are read from standard input. This is to make it easy to customise what the roots are. The collector now no longer fails when store expressions are missing (which legally happens when using substitutes). It never tries to fetch paths through substitutes. TODO: acquire a global lock on the store while garbage collecting. * Removed `nix-store --delete'.
Diffstat (limited to 'src/libstore/normalise.hh')
-rw-r--r-- | src/libstore/normalise.hh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstore/normalise.hh b/src/libstore/normalise.hh index 43be136e5b75..7b0835b45ef4 100644 --- a/src/libstore/normalise.hh +++ b/src/libstore/normalise.hh @@ -40,9 +40,5 @@ PathSet storeExprRoots(const Path & nePath); PathSet storeExprRequisites(const Path & nePath, bool includeExprs, bool includeSuccessors); -/* Return the list of the paths of all known store expressions whose - output paths are completely contained in the set `outputs'. */ -PathSet findGenerators(const PathSet & outputs); - #endif /* !__NORMALISE_H */ |