[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: store: Export 'connect-to-daemon'.
From: |
guix-commits |
Subject: |
09/11: store: Export 'connect-to-daemon'. |
Date: |
Sat, 8 May 2021 09:08:59 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit dd14678b9b9843be20e2bbb98ceb30d2433dab82
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed May 5 23:25:56 2021 +0200
store: Export 'connect-to-daemon'.
* guix/store.scm (connect-to-daemon): Make public. Improve docstring.
---
guix/store.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/guix/store.scm b/guix/store.scm
index 315ae4c..9d706ae 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)
- 02/11: gnu: Add font-montserrat., (continued)
- 02/11: gnu: Add font-montserrat., guix-commits, 2021/05/08
- 01/11: gnu: ocaml: Depend on libiberty., guix-commits, 2021/05/08
- 04/11: gnu: Add volctl., guix-commits, 2021/05/08
- 03/11: gnu: xfce4-session: Allow xflock4 to use xset., guix-commits, 2021/05/08
- 06/11: weather: '--display-missing' shows the system type of missing items., guix-commits, 2021/05/08
- 11/11: services: configuration: Export 'no-serialization' syntactic keyword., guix-commits, 2021/05/08
- 05/11: gnu: volctl: Comment on the license., guix-commits, 2021/05/08
- 07/11: store: 'open-connection' never returns #f., guix-commits, 2021/05/08
- 08/11: ssh: 'connect-to-remote-daemon' raises a nicer message upon error., guix-commits, 2021/05/08
- 10/11: ssh: Honor GUIX_DAEMON_SOCKET on the target machine., guix-commits, 2021/05/08
- 09/11: store: Export 'connect-to-daemon'.,
guix-commits <=