Skip to main content

socket_looks_present

Function socket_looks_present 

Source
pub fn socket_looks_present(path: &Path) -> bool
Expand description

Probe whether path looks like a live socket file. Used by callers deciding whether to construct a DaemonAwareCacheClient with Some(path) at all (a pure existence check — the client’s own connect-with-timeout handles the “exists but not accepting” case, so this is a cheap early filter, not the sole gate).