lix/perl/lib/Nix
Eelco Dolstra ccc52adfb2 Add function queryPathFromHashPart()
To implement binary caches efficiently, Hydra needs to be able to map
the hash part of a store path (e.g. "gbg...zr7") to the full store
path (e.g. "/nix/store/gbg...kzr7-subversion-1.7.5").  (The binary
cache mechanism uses hash parts as a key for looking up store paths to
ensure privacy.)  However, doing a search in the Nix store for
/nix/store/<hash>* is expensive since it requires reading the entire
directory.  queryPathFromHashPart() prevents this by doing a cheap
database lookup.
2012-07-17 18:55:39 -04:00
..
Config.pm.in Support building with the Perl XS bindings disabled 2012-05-10 19:03:23 -04:00
CopyClosure.pm nix-copy-closure: Move the progressViewer directly adjacent to the ssh call so that network progress is what's measured 2012-04-13 14:29:12 +02:00
GeneratePatches.pm * Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm under 2011-10-10 21:11:08 +00:00
Manifest.pm Unconfuse Rob 2012-04-10 16:40:51 +02:00
SSH.pm * Move SSH.pm. 2011-10-11 11:45:36 +00:00
Store.pm Add function queryPathFromHashPart() 2012-07-17 18:55:39 -04:00
Store.xs Add function queryPathFromHashPart() 2012-07-17 18:55:39 -04:00