Skip to main content

daemon_socket_path

Function daemon_socket_path 

Source
pub fn daemon_socket_path() -> Result<PathBuf>
Expand description

Path of the per-user daemon control socket.

ยงErrors

Only resolving the data dir. The socket itself is neither created nor checked for, so an Ok path says nothing about whether a daemon is listening.