diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2017-07-21 14:52:08 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-07-21 17:03:25 +0200 |
commit | deac674ab4015e52fb6fb883f578e5c5891291a4 (patch) | |
tree | 652b1b41618b09c130c25dfd46d0e6201f5599b5 /d3.v3.js | |
parent | 35eb77b09d957019b2437e7681bd88013d67d3cd (diff) | |
download | 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 'd3.v3.js')
0 files changed, 0 insertions, 0 deletions