guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 03/03: store: Fix 'hash-part->path' docstring.
Date: Sat, 25 May 2019 19:34:40 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 7fcb86da2b1923a9f7d3cd04ce922632f52af5a0
Author: Ludovic Courtès <address@hidden>
Date:   Sun May 26 01:33:39 2019 +0200

    store: Fix 'hash-part->path' docstring.
    
    * guix/store.scm (hash-part->path): Adjust docstring to match reality.
---
 guix/store.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/store.scm b/guix/store.scm
index 5c6e4e0..738c0fb 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]