Skip to main content

quote_path

Function quote_path 

Source
pub fn quote_path(path: &str) -> String
Expand description

quote for a remote path, leaving a leading ~ or ~/ unquoted so the remote shell expands it to the remote home (OSC 7 and users write it).