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

Function daemon_reachable

src/daemon/service.rs:458–460  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

456/// no daemon service is running to execute it.
457#[cfg(unix)]
458pub fn daemon_reachable() -> bool {
459 default_socket_path().is_ok_and(|path| StdUnixStream::connect(path).is_ok())
460}
461
462/// The daemon (and its scheduler) is unix-only; see [`super::run_foreground`].
463#[cfg(not(unix))]

Callers 3

check_watcherFunction · 0.85

Calls 2

default_socket_pathFunction · 0.85
is_okMethod · 0.80

Tested by

no test coverage detected