Skip to main content

connection_file_path

Function connection_file_path 

Source
pub fn connection_file_path() -> PathBuf
Expand description

Resolve subc’s per-user TCP connection-file path.

$XDG_RUNTIME_DIR/subc-connection.json is preferred because the runtime directory is already per-user on Unix desktops. Without it, subc falls back to the system temp dir with a per-user token in the filename so different OS users do not collide on shared temp directories.