about summary refs log tree commit diff
path: root/src/libstore/nar-info-disk-cache.cc
AgeCommit message (Collapse)AuthorFilesLines
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.