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

Function default_available_socket_path

src/daemon.rs:805–812  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

803}
804
805fn default_available_socket_path() -> Result<PathBuf> {
806 let socket_path = default_socket_path()?;
807 if socket_path.exists() {
808 Ok(socket_path)
809 } else {
810 Err(unavailable_error(&socket_path))
811 }
812}
813
814/// How long daemon clients keep retrying a failed connect before giving up.
815///

Callers 2

call_default_toolFunction · 0.85

Calls 3

default_socket_pathFunction · 0.85
unavailable_errorFunction · 0.85
existsMethod · 0.80

Tested by

no test coverage detected