about summary refs log tree commit diff
path: root/src/nix/path-info.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-04-21 Implement S3BinaryCacheStore::queryAllValidPaths()Eelco Dolstra1-5/+6
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 nix path-info: AddEelco Dolstra1-0/+75
Forgot to commit this earlier...