nix-super/perl
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
..
lib/Nix Add function queryPathFromHashPart() 2012-07-17 18:55:39 -04:00
Makefile.am Support building with the Perl XS bindings disabled 2012-05-10 19:03:23 -04:00
MANIFEST * Include the Nix Perl bindings in Nix itself. This will allow the 2011-10-10 18:12:40 +00:00