store: Fix 'hash-part->path' docstring.

* guix/store.scm (hash-part->path): Adjust docstring to match reality.
This commit is contained in:
Ludovic Courtès 2019-05-26 01:33:39 +02:00
parent 493375cdb2
commit 7fcb86da2b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -980,7 +980,7 @@ (define hash-part->path
store-path)))
(lambda (server hash-part)
"Return the store path whose hash part is HASH-PART (a nix-base32
string). Raise an error if no such path exists."
string). Return the empty string if no such path exists."
;; This RPC is primarily used by Hydra to reply to HTTP GETs of
;; /HASH.narinfo.
(query-path-from-hash-part server hash-part))))