lix/src/libstore
wmertens a84f503d86 Shortcut already-hardlinked files
If an inode in the Nix store has more than 1 link, it probably means that it was linked into .links/ by us. If so, skip.

There's a possibility that something else hardlinked the file, so it would be nice to be able to override this.

Also, by looking at the number of hardlinks for each of the files in .links/, you can get deduplication numbers and space savings.
2014-05-10 15:53:01 +02:00
..
build.cc Fix compile errors on Illumos 2014-04-03 17:39:57 +02:00
derivations.cc If a .drv cannot be parsed, show its path 2014-04-08 19:24:29 +02:00
derivations.hh If a .drv cannot be parsed, show its path 2014-04-08 19:24:29 +02:00
gc.cc boost::shared_ptr -> std::shared_ptr 2014-03-30 00:49:23 +01:00
globals.cc Set build-max-jobs to the number of available cores by default 2014-05-02 12:51:43 +02:00
globals.hh Add use-ssh-substituter setting. 2014-02-26 13:32:47 +01:00
local-store.cc Set up directories and permissions for multi-user install automatically 2014-05-02 14:31:15 +02:00
local-store.hh Add a flag ‘--check’ to verify build determinism 2014-02-18 01:01:14 +01:00
local.mk Fix compile errors on Illumos 2014-04-03 17:39:57 +02:00
misc.cc If a .drv cannot be parsed, show its path 2014-04-08 19:24:29 +02:00
misc.hh Don't set $preferLocalBuild and $requiredSystemFeatures in builders 2013-06-20 18:07:27 +00:00
optimise-store.cc Shortcut already-hardlinked files 2014-05-10 15:53:01 +02: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 a flag ‘--check’ to verify build determinism 2014-02-18 01:01:14 +01:00
remote-store.hh Add a flag ‘--check’ to verify build determinism 2014-02-18 01:01:14 +01: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 boost::shared_ptr -> std::shared_ptr 2014-03-30 00:49:23 +01:00
store-api.hh boost::shared_ptr -> std::shared_ptr 2014-03-30 00:49:23 +01:00
worker-protocol.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00