mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
eb233e728f
unreachable paths that haven't been used for N hours. For instance, `nix-collect-garbage --min-age 168' only deletes paths that haven't been accessed in the last week. This is useful for instance in the build farm where many derivations can be shared between consecutive builds, and we wouldn't want a garbage collect to throw them all away. We could of course register them as roots, but then we'd to unregister them at some point, which would be a pain to manage. The `--min-age' flag gives us a sort of MRU caching scheme. BUG: this really shouldn't be in gc.cc since that violates mechanism/policy separation. |
||
---|---|---|
.. | ||
db.cc | ||
db.hh | ||
gc.cc | ||
gc.hh | ||
globals.cc | ||
globals.hh | ||
Makefile.am | ||
misc.cc | ||
normalise.cc | ||
normalise.hh | ||
pathlocks.cc | ||
pathlocks.hh | ||
references.cc | ||
references.hh | ||
store.cc | ||
store.hh | ||
storeexpr.cc | ||
storeexpr.hh | ||
test-builder-1.sh | ||
test-builder-2.sh |