lix/src/libstore
Eelco Dolstra 564fb7d9fa optimiseStore(): Use a content-addressed file store in /nix/store/.links
optimiseStore() now creates persistent, content-addressed hard links
in /nix/store/.links.  For instance, if it encounters a file P with
hash H, it will create a hard link

  P' = /nix/store/.link/<H>

to P if P' doesn't already exist; if P' exist, then P is replaced by a
hard link to P'.  This is better than the previous in-memory map,
because it had the tendency to unnecessarily replace hard links with a
hard link to whatever happened to be the first file with a given hash
it encountered.  It also allows on-the-fly, incremental optimisation.
2012-07-23 17:14:15 -04:00
..
build.cc Return an exit code of 100 for cached failed builds 2012-07-17 15:55:30 -04:00
derivations.cc * Ouch. A store upgrade could cause a substituter to be triggered, 2011-09-12 09:07:43 +00:00
derivations.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
gc.cc Fix obscure race condition in GC root creation 2012-04-16 18:47:01 +02:00
globals.cc * Move initialisation of variables like nixConfDir from libmain to 2011-11-22 17:28:41 +00:00
globals.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
local-store.cc Use lutimes() if available to canonicalise the timestamp of symlinks 2012-07-23 16:52:25 -04:00
local-store.hh optimiseStore(): Use a content-addressed file store in /nix/store/.links 2012-07-23 17:14:15 -04:00
Makefile.am Compress build logs on the fly using bzip2 2012-05-30 10:12:29 -04:00
misc.cc * Add an option ‘build-use-substitutes’, which can be set to ‘false’ 2012-04-30 19:15:34 -04:00
misc.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
optimise-store.cc optimiseStore(): Use a content-addressed file store in /nix/store/.links 2012-07-23 17:14:15 -04:00
pathlocks.cc Set the close-on-exec flag on file descriptors 2012-03-05 20:29:00 +01:00
pathlocks.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
references.cc Use data() instead of c_str() where appropriate 2012-02-09 18:27:45 +01:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-store.cc Add function queryPathFromHashPart() 2012-07-17 18:55:39 -04:00
remote-store.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
schema.sql * Store the size of a store path in the database (to be precise, the 2010-11-16 17:11:46 +00:00
store-api.cc Reserve some disk space for the garbage collector 2012-05-29 22:59:12 -04:00
store-api.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
worker-protocol.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00