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

Function socket_path_or_default

src/daemon/service.rs:249–251  ·  view source on GitHub ↗
(socket: Option<String>)

Source from the content-addressed store, hash-verified

247}
248
249pub fn socket_path_or_default(socket: Option<String>) -> Result<PathBuf> {
250 socket.map_or_else(default_socket_path, |path| Ok(PathBuf::from(path)))
251}
252
253pub fn service_spec(
254 tracedecay_bin: impl Into<PathBuf>,

Callers 2

dispatch_commandFunction · 0.85
service_specFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected