lix/src/libstore
Eelco Dolstra 4384bbd2e1 optimizePath(): Detect some .links corruption
If automatic store optimisation is enabled, and a hard-linked file in
the store gets corrupted, then the corresponding .links entry will
also be corrupted. In that case, trying to repair with --repair or
--repair-path won't work, because the new "good" file will be replaced
by a hard link to the corrupted file. We can catch most of these cases
by doing a sanity-check on the file sizes.
2015-11-09 21:28:25 +01:00
..
build.cc int2String() -> std::to_string() 2015-10-29 13:26:55 +01:00
builtins.cc <nix/fetchurl.nix>: Support xz-compressed NARs 2015-10-30 12:34:30 +01:00
builtins.hh Make <nix/fetchurl.nix> a builtin builder 2015-07-20 04:38:46 +02:00
derivations.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
derivations.hh Allow remote builds without sending the derivation closure 2015-07-17 17:57:40 +02:00
download.cc int2String() -> std::to_string() 2015-10-29 13:26:55 +01:00
download.hh Show progress indicator for builtin fetchurl 2015-10-21 15:14:42 +02:00
gc.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
globals.cc move preBuildHook defaulting to globals.cc 2015-10-21 14:39:08 -07:00
globals.hh Add the pre-build hook. 2015-04-18 16:56:02 -04:00
local-store.cc nix-copy-closure: Add -v flag 2015-07-20 01:52:07 +02:00
local-store.hh Shut up clang warnings 2015-09-18 01:22:35 +02:00
local.mk Add resolve-system-dependencies.pl 2015-10-21 12:38:52 -07:00
misc.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
misc.hh Allow remote builds without sending the derivation closure 2015-07-17 17:57:40 +02:00
nix-store.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
optimise-store.cc optimizePath(): Detect some .links corruption 2015-11-09 21:28:25 +01:00
pathlocks.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
pathlocks.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
profiles.cc nix-collect-garbage: Don't call nix-env 2015-05-21 16:28:30 +02:00
profiles.hh nix-collect-garbage: Don't call nix-env 2015-05-21 16:28:30 +02:00
references.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-store.cc Implement buildDerivation() via the daemon 2015-09-03 12:56:59 +02:00
remote-store.hh Shut up clang warnings 2015-09-18 01:22:35 +02:00
sandbox-defaults.sb.in fix syntax error 2015-11-03 09:03:32 -08: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 nix-collect-garbage: Revive --max-freed 2015-08-21 13:57:53 +02:00
store-api.hh nix-store --serve: Implement log size limit 2015-10-06 17:33:30 +02:00
worker-protocol.hh Implement buildDerivation() via the daemon 2015-09-03 12:56:59 +02:00