diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-05-26 01:18:53 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-05-26 01:34:17 +0200 |
commit | 493375cdb23fc1416348da584f17bec7171faadd (patch) | |
tree | d418a5f8526b61df0eb61eec57de9f7859325486 /guix/gnupg.scm | |
parent | ed90104cc82fdd6b762a159b06c0ea37b417a9a5 (diff) | |
download | guix-patches-493375cdb23fc1416348da584f17bec7171faadd.tar guix-patches-493375cdb23fc1416348da584f17bec7171faadd.tar.gz |
publish: Maintain a hash-part-to-store-item mapping in cache.
Fixes <https://bugs.gnu.org/33897>.
* guix/scripts/publish.scm (hash-part-mapping-cache-file)
(hash-part->path*): New procedures.
* guix/scripts/publish.scm (render-narinfo/cached)[delete-entry]: Delete
the 'hash-part-mapping-cache-file'.
Use 'hash-part->path*' instead of 'hash-part->path'.
* tests/publish.scm ("with cache, vanishing item"): New test.
Diffstat (limited to 'guix/gnupg.scm')
0 files changed, 0 insertions, 0 deletions