MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / connect_to_daemon

Function connect_to_daemon

src/daemon.rs:853–860  ·  view source on GitHub ↗
(socket_path: &Path)

Source from the content-addressed store, hash-verified

851/// `tracedecay update` (see [`DAEMON_RESTART_GRACE`]).
852#[cfg(unix)]
853async fn connect_to_daemon(socket_path: &Path) -> Result<UnixStream> {
854 connect_with_restart_grace(
855 socket_path,
856 DAEMON_RESTART_GRACE,
857 DAEMON_RESTART_POLL_INTERVAL,
858 )
859 .await
860}
861
862/// Connects to the daemon socket, tolerating a short restart outage.
863///

Callers 2

send_daemon_request_lineFunction · 0.85
call_toolFunction · 0.85

Calls 1

Tested by

no test coverage detected