summaryrefslogtreecommitdiff
path: root/guix/store.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-05-26 01:33:39 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-26 01:34:17 +0200
commit7fcb86da2b1923a9f7d3cd04ce922632f52af5a0 (patch)
treec504ed0abb31aea6a0d1aa8ad61afac662f85fe4 /guix/store.scm
parent493375cdb23fc1416348da584f17bec7171faadd (diff)
store: Fix 'hash-part->path' docstring.
* guix/store.scm (hash-part->path): Adjust docstring to match reality.
Diffstat (limited to 'guix/store.scm')
-rw-r--r--guix/store.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/store.scm b/guix/store.scm
index 5c6e4e0ca6..738c0fb5f3 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -980,7 +980,7 @@ store directory (/gnu/store)."
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))))