store: Fix 'hash-part->path' docstring.
* guix/store.scm (hash-part->path): Adjust docstring to match reality.
This commit is contained in:
parent
493375cdb2
commit
7fcb86da2b
|
@ -980,7 +980,7 @@ store directory (/gnu/store)."
|
||||||
store-path)))
|
store-path)))
|
||||||
(lambda (server hash-part)
|
(lambda (server hash-part)
|
||||||
"Return the store path whose hash part is HASH-PART (a nix-base32
|
"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
|
;; This RPC is primarily used by Hydra to reply to HTTP GETs of
|
||||||
;; /HASH.narinfo.
|
;; /HASH.narinfo.
|
||||||
(query-path-from-hash-part server hash-part))))
|
(query-path-from-hash-part server hash-part))))
|
||||||
|
|
Loading…
Reference in New Issue