Skip to main content

quote_remote_install_dir

Function quote_remote_install_dir 

Source
pub fn quote_remote_install_dir(install_dir: &str) -> String
Expand description

Quote --install-dir for interpolation into the remote install command. A leading ~ becomes "$HOME" so it still expands on the remote; the rest is quoted so spaces and metacharacters are inert.