tvl-depot/src/libstore
Eelco Dolstra eb233e728f * `--min-age' flag in nix-store and nix-collect-garbage to only delete
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.
2004-08-25 16:54:08 +00:00
..
db.cc * Added a switch `--fallback'. From the manual: 2004-06-28 10:42:57 +00:00
db.hh * Added a switch `--fallback'. From the manual: 2004-06-28 10:42:57 +00:00
gc.cc * `--min-age' flag in nix-store and nix-collect-garbage to only delete 2004-08-25 16:54:08 +00:00
gc.hh * `--min-age' flag in nix-store and nix-collect-garbage to only delete 2004-08-25 16:54:08 +00:00
globals.cc * The default verbosity level of all Nix commands is now lvlInfo. 2004-08-18 12:19:06 +00:00
globals.hh * Added a switch `--fallback'. From the manual: 2004-06-28 10:42:57 +00:00
Makefile.am * Put the garbage collector in nix-store: operation `--gc', 2004-08-25 11:43:49 +00:00
misc.cc * Big refactoring. Move to a much more explicitly state machine based 2004-06-18 18:09:32 +00:00
normalise.cc * The predecessor of a successor need not be present. This in 2004-08-11 19:03:13 +00:00
normalise.hh * Put the garbage collector in nix-store: operation `--gc', 2004-08-25 11:43:49 +00:00
pathlocks.cc * True parallel builds. Nix can now run as many build jobs in 2004-05-11 18:05:44 +00:00
pathlocks.hh * True parallel builds. Nix can now run as many build jobs in 2004-05-11 18:05:44 +00:00
references.cc * Catch SIGINT to terminate cleanly when the user tries to interrupt 2004-01-15 20:23:55 +00:00
references.hh * libnix -> libstore. 2003-11-18 10:55:27 +00:00
store.cc * Put the garbage collector in nix-store: operation `--gc', 2004-08-25 11:43:49 +00:00
store.hh * Added a switch `--fallback'. From the manual: 2004-06-28 10:42:57 +00:00
storeexpr.cc * Changed the extension for store expressions from ".nix" to ".store" 2004-01-12 10:44:48 +00:00
storeexpr.hh * "Nix expression" -> "store expression". 2003-11-18 11:22:29 +00:00
test-builder-1.sh * libnix -> libstore. 2003-11-18 10:55:27 +00:00
test-builder-2.sh * libnix -> libstore. 2003-11-18 10:55:27 +00:00