Skip to main content

daemon_socket_path

Function daemon_socket_path 

Source
pub fn daemon_socket_path(data_dir: &Path) -> PathBuf
Expand description

Return the socket path used for a data directory.

Runtime sockets belong in XDG_RUNTIME_DIR; the data directory remains the fallback for environments without an XDG runtime directory.