summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-05-05 23:25:56 +0200
committerLudovic Courtès <ludo@gnu.org>2021-05-08 14:55:51 +0200
commitdd14678b9b9843be20e2bbb98ceb30d2433dab82 (patch)
tree5cec85bef7869960c8d207bfaf5b3d76e06fa6c8
parente2f4a5704be2103cc271969543dff20ad1f3b3d3 (diff)
downloadguix-patches-dd14678b9b9843be20e2bbb98ceb30d2433dab82.tar
guix-patches-dd14678b9b9843be20e2bbb98ceb30d2433dab82.tar.gz
store: Export 'connect-to-daemon'.
* guix/store.scm (connect-to-daemon): Make public. Improve docstring.
-rw-r--r--guix/store.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/store.scm b/guix/store.scm
index 315ae4cdce..9d706ae590 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -90,6 +90,7 @@
hash-algo
build-mode
+ connect-to-daemon
open-connection
port->connection
close-connection
@@ -501,7 +502,10 @@
(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)