aboutsummaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2017-07-21 14:52:08 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-21 17:03:25 +0200
commitdeac674ab4015e52fb6fb883f578e5c5891291a4 (patch)
tree652b1b41618b09c130c25dfd46d0e6201f5599b5 /HACKING
parent35eb77b09d957019b2437e7681bd88013d67d3cd (diff)
downloadguix-deac674ab4015e52fb6fb883f578e5c5891291a4.tar
guix-deac674ab4015e52fb6fb883f578e5c5891291a4.tar.gz
publish: Avoid 'valid-path?' RPC for non-existent items.
* guix/scripts/publish.scm (render-narinfo/cached): Call 'file-exists?' before calling 'valid-path?'. This makes the 404 path slightly faster.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions