lix/src/libstore
Eelco Dolstra 7d14f5c331 Implement S3BinaryCacheStore::queryAllValidPaths()
This allows commands like "nix verify --all" or "nix path-info --all"
to work on S3 caches.

Unfortunately, this requires some ugly hackery: when querying the
contents of the bucket, we don't want to have to read every .narinfo
file. But the S3 bucket keys only include the hash part of each store
path, not the name part. So as a special exception
queryAllValidPaths() can now return store paths *without* the name
part, and queryPathInfo() accepts such store paths (returning a
ValidPathInfo object containing the full name).
2016-04-21 17:53:47 +02:00
..
binary-cache-store.cc Implement S3BinaryCacheStore::queryAllValidPaths() 2016-04-21 17:53:47 +02:00
binary-cache-store.hh Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
build.cc Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
builtins.cc BinaryCacheStore::readFile(): Return a shared_ptr to a string 2016-04-15 15:39:48 +02:00
builtins.hh Make <nix/fetchurl.nix> a builtin builder 2015-07-20 04:38:46 +02:00
crypto.cc Use secret-key-files for verifying 2016-04-07 15:16:57 +02:00
crypto.hh Add "nix verify-paths" command 2016-03-29 16:37:16 +02:00
derivations.cc Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
derivations.hh StoreAPI -> Store 2016-02-04 14:48:42 +01:00
download.cc Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
download.hh BinaryCacheStore::readFile(): Return a shared_ptr to a string 2016-04-15 15:39:48 +02:00
fs-accessor.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
gc.cc Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
globals.cc Remove manifest support 2016-04-11 16:20:15 +02:00
globals.hh Remove failed build caching 2016-04-08 18:19:04 +02:00
http-binary-cache-store.cc Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
local-binary-cache-store.cc BinaryCacheStore::readFile(): Return a shared_ptr to a string 2016-04-15 15:39:48 +02:00
local-fs-store.cc LocalStoreAccessor::stat: Handle ENOTDIR 2016-03-23 11:17:46 +01:00
local-store.cc Implement S3BinaryCacheStore::queryAllValidPaths() 2016-04-21 17:53:47 +02:00
local-store.hh Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
local.mk Move S3BinaryCacheStore from Hydra 2016-04-21 16:08:51 +02:00
misc.cc Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
nar-accessor.cc Fix Darwin build 2016-03-15 12:11:27 +01:00
nar-accessor.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
nar-info-disk-cache.cc Implement S3BinaryCacheStore::queryAllValidPaths() 2016-04-21 17:53:47 +02:00
nar-info-disk-cache.hh Implement S3BinaryCacheStore::queryAllValidPaths() 2016-04-21 17:53:47 +02:00
nar-info.cc Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
nar-info.hh Cache path info lookups in SQLite 2016-04-20 14:12:38 +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 ~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 Move addPermRoot into Store 2016-02-11 16:14:42 +01:00
profiles.hh StoreAPI -> Store 2016-02-04 14:48:42 +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 RemoteStore: Propagate InvalidPath exceptions from the daemon 2016-04-20 15:28:07 +02:00
remote-store.hh Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
s3-binary-cache-store.cc Implement S3BinaryCacheStore::queryAllValidPaths() 2016-04-21 17:53:47 +02:00
s3-binary-cache-store.hh Move S3BinaryCacheStore from Hydra 2016-04-21 16:08:51 +02:00
sandbox-defaults.sb.in Revert "remove sandbox-defaults.sb" 2015-11-21 16:40:24 -05:00
schema.sql Remove failed build caching 2016-04-08 18:19:04 +02:00
sqlite.cc Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
sqlite.hh Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
store-api.cc Implement S3BinaryCacheStore::queryAllValidPaths() 2016-04-21 17:53:47 +02:00
store-api.hh Implement S3BinaryCacheStore::queryAllValidPaths() 2016-04-21 17:53:47 +02:00
worker-protocol.hh RemoteStore: Propagate InvalidPath exceptions from the daemon 2016-04-20 15:28:07 +02:00