nix-gh/src/libstore
Eelco Dolstra c10c61449f Eliminate the "store" global variable
Also, move a few free-standing functions into StoreAPI and Derivation.

Also, introduce a non-nullable smart pointer, ref<T>, which is just a
wrapper around std::shared_ptr ensuring that the pointer is never
null. (For reference-counted values, this is better than passing a
"T&", because the latter doesn't maintain the refcount. Usually, the
caller will have a shared_ptr keeping the value alive, but that's not
always the case, e.g., when passing a reference to a std::thread via
std::bind.)
2016-02-04 14:28:26 +01:00
..
build.cc Eliminate the "store" global variable 2016-02-04 14:28:26 +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 Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
derivations.hh Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
download.cc Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
download.hh Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
gc.cc Eliminate the "store" global variable 2016-02-04 14:28:26 +01: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 Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
local-store.hh Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
local.mk Merge pull request #704 from ysangkok/freebsd-support 2015-11-24 19:24:21 +01:00
misc.cc Eliminate the "store" global variable 2016-02-04 14:28:26 +01: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 ~PathLocks(): Handle exceptions 2016-01-04 11:34:36 +01:00
pathlocks.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
profiles.cc Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
profiles.hh Eliminate the "store" global variable 2016-02-04 14:28:26 +01: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 Use the daemon when we don't have write access to the Nix database 2016-01-31 10:28:48 +01:00
remote-store.hh Shut up clang warnings 2015-09-18 01:22:35 +02:00
sandbox-defaults.sb.in Revert "remove sandbox-defaults.sb" 2015-11-21 16:40:24 -05: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 Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
store-api.hh Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
worker-protocol.hh daemon: Add 'buildMode' parameter to 'buildPaths' RPC 2015-12-02 18:14:49 +01:00