me
/
guix
Archived
1
0
Fork 0

store: Export 'connect-to-daemon'.

* guix/store.scm (connect-to-daemon): Make public.  Improve docstring.
master
Ludovic Courtès 2021-05-05 23:25:56 +02:00
parent e2f4a5704b
commit dd14678b9b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 1 deletions

View File

@ -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)