Skip to main content

resolve_socket_path

Function resolve_socket_path 

Source
pub fn resolve_socket_path(
    socket_name: Option<&OsStr>,
    socket_path: Option<&Path>,
) -> Result<PathBuf, ClientError>
Expand description

Resolves the top-level socket path from -L, -S, $RMUX, or defaults.

-S wins over -L; both command-line forms win over $RMUX.