lix/src/libstore
Eelco Dolstra 759947bf72 StorePath: Rewrite in C++
On nix-env -qa -f '<nixpkgs>', this reduces maximum RSS by 20970 KiB
and runtime by 0.8%. This is mostly because we're not parsing the hash
part as a hash anymore (just validating that it consists of base-32
characters).

Also, replace storePathToHash() by StorePath::hashPart().
2020-06-16 14:28:41 +02:00
..
builtins Get rid of explicit ErrorInfo constructors 2020-06-15 14:06:58 +02:00
binary-cache-store.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
binary-cache-store.hh Remove addToStore variant as requested by FIXME 2020-05-29 17:02:32 -04:00
build.cc Print only one error message if a build fails 2020-06-15 19:35:31 +02:00
builtins.hh buildenv: Eliminate global variables, other cleanup 2020-03-24 14:06:47 +01:00
crypto.cc binary-cache-public-keys -> trusted-public-keys 2017-11-20 17:32:34 +01:00
crypto.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
daemon.cc Remove trailing whitespace 2020-06-15 14:12:39 +02:00
daemon.hh Recursive Nix support 2019-11-06 00:52:38 +01:00
derivations.cc Merge branch 'errors-phase-2' of https://github.com/bburdette/nix 2020-06-15 11:46:31 +02:00
derivations.hh Remove Store::queryDerivationOutputNames() 2020-06-12 12:46:33 +02:00
export-import.cc libutils/hash: remove default encoding 2020-06-03 13:49:51 +02:00
filetransfer.cc Fix FTP support 2020-06-16 11:53:04 +02:00
filetransfer.hh fixes to merged code 2020-05-11 15:52:15 -06:00
fs-accessor.hh Shut up some warnings 2019-09-22 21:57:05 +02:00
gc.cc Get rid of explicit ErrorInfo constructors 2020-06-15 14:06:58 +02:00
globals.cc Show hint how to enable experimental features 2020-05-12 15:47:09 +02:00
globals.hh Disable extra-platforms = i686-linux on wsl1 (#3676) 2020-06-09 21:53:53 +00:00
http-binary-cache-store.cc datatransfer.{cc,hh} -> filetransfer.{cc,hh} 2020-04-08 22:26:57 +02:00
legacy-ssh-store.cc Replace some bool recursive with a new FileIngestionMethod enum 2020-03-29 15:16:20 -04:00
local-binary-cache-store.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
local-fs-store.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
local-store.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
local-store.hh Remove Store::queryDerivationOutputNames() 2020-06-12 12:46:33 +02:00
local.mk StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
machines.cc getMachines(): Cache result 2019-04-01 21:09:35 +02:00
machines.hh Replace $NIX_REMOTE_SYSTEMS with an option "builder-files" 2017-05-02 15:46:09 +02:00
misc.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
names.cc Move names.{cc,hh} to libstore 2020-06-11 15:42:18 +02:00
names.hh Move names.{cc,hh} to libstore 2020-06-11 15:42:18 +02:00
nar-accessor.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
nar-accessor.hh Fix build on gcc 7 2017-12-16 00:49:31 +01:00
nar-info-disk-cache.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
nar-info-disk-cache.hh Misc changes from the flakes branch 2020-03-24 14:34:47 +01:00
nar-info.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
nar-info.hh Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
nix-store.pc.in pkg-config files: Use c++17 2019-03-14 14:11:12 +01:00
optimise-store.cc Remove trailing whitespace 2020-06-15 14:12:39 +02:00
parsed-derivations.cc Misc changes from the flakes branch 2020-03-24 14:34:47 +01:00
parsed-derivations.hh Misc changes from the flakes branch 2020-03-24 14:34:47 +01:00
path.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
path.hh StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
pathlocks.cc convert some printError calls to logError 2020-05-03 08:01:25 -06:00
pathlocks.hh Use BSD instead of POSIX file locks 2019-08-02 18:39:16 +02:00
profiles.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
profiles.hh Misc changes from the flakes branch 2020-03-24 14:34:47 +01:00
references.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
references.hh Allow content-addressable paths to have references 2019-10-21 17:47:24 +02:00
remote-fs-accessor.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
remote-fs-accessor.hh Provide random access to cached NARs 2017-12-07 01:07:07 +01:00
remote-store.cc Merge branch 'errors-phase-2' of https://github.com/bburdette/nix 2020-06-15 11:46:31 +02:00
remote-store.hh Remove Store::queryDerivationOutputNames() 2020-06-12 12:46:33 +02:00
s3-binary-cache-store.cc Merge branch 'master' into errors-phase-2 2020-05-11 14:35:30 -06:00
s3-binary-cache-store.hh Fix getS3Stats() 2016-10-06 17:00:52 +02:00
s3.hh DataTransfer -> FileTransfer 2020-04-08 22:26:57 +02:00
sandbox-defaults.sb sandbox: fix /bin/sh on catalina 2020-03-20 22:12:30 +01:00
sandbox-minimal.sb Always use the Darwin sandbox 2017-06-06 18:44:49 +02:00
sandbox-network.sb OS X sandbox: Improve builtin sandbox profile 2017-05-31 17:25:51 +02:00
schema.sql Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
serve-protocol.hh Make adding paths via nix-store --serve run in constant memory 2018-08-03 21:21:16 +02:00
sqlite.cc Get rid of explicit ErrorInfo constructors 2020-06-15 14:06:58 +02:00
sqlite.hh formatting and a few minor changes 2020-05-13 15:56:39 -06:00
ssh-store.cc Fix segfault in gcc on i686-linux 2020-02-07 13:01:48 +01:00
ssh.cc Fix PR_SET_PDEATHSIG results in Broken pipe (#2395) 2020-02-14 07:51:44 +01:00
ssh.hh SSHMaster: Bypass SSH when connecting to localhost 2018-08-03 21:20:38 +02:00
store-api.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
store-api.hh StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
worker-protocol.hh Remove Store::queryDerivationOutputNames() 2020-06-12 12:46:33 +02:00