store: Export 'connect-to-daemon'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 5 May 2021 21:25:56 +0000 (23:25 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 8 May 2021 12:55:51 +0000 (14:55 +0200)
* guix/store.scm (connect-to-daemon): Make public.  Improve docstring.

guix/store.scm

index 315ae4c..9d706ae 100644 (file)
@@ -90,6 +90,7 @@
             hash-algo
             build-mode
 
+            connect-to-daemon
             open-connection
             port->connection
             close-connection
 
 (define (connect-to-daemon uri)
   "Connect to the daemon at URI, a string that may be an actual URI or a file
-name."
+name, and return an input/output port.
+
+This is a low-level procedure that does not perform the initial handshake with
+the daemon.  Use 'open-connection' for that."
   (define (not-supported)
     (raise (condition (&store-connection-error
                        (file uri)