Skip to main content

socket_path

Function socket_path 

Source
pub fn socket_path() -> PathBuf
Expand description

The Unix domain socket the daemon listens on: $MFP_SOCKET if set, otherwise $XDG_RUNTIME_DIR/mfp/daemon.sock where that variable is set, and $TMPDIR/mfp-$UID/daemon.sock otherwise, with $TMPDIR falling back to /tmp.