about summary refs log tree commit diff
path: root/src/libstore/nar-info-disk-cache.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-08-10 SQLite:: Add some convenienceEelco Dolstra1-9/+4
2016-06-20 Re-implement negative binary cache lookup cachingEelco Dolstra1-12/+15
2016-06-03 Fix narrowing conversion from int64_t to boolEelco Dolstra1-1/+1
http://hydra.nixos.org/build/36613774
2016-06-01 HttpBinaryCacheStore: Fix caching of WantMassQueryEelco Dolstra1-9/+15
Also, test HttpBinaryCacheStore in addition to LocalBinaryCacheStore.
2016-06-01 Make the store directory a member variable of StoreEelco Dolstra1-14/+21
2016-05-30 Re-implement the WantMassQuery property of binary cachesEelco Dolstra1-2/+2
2016-04-21 Implement S3BinaryCacheStore::queryAllValidPaths()Eelco Dolstra1-22/+29
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-20 Cache path info lookups in SQLiteEelco Dolstra1-0/+217
This re-implements the binary cache database in C++, allowing it to be used by other Store backends, in particular the S3 backend.