Skip to main content

expand_config_path

Function expand_config_path 

Source
pub fn expand_config_path(raw: &str) -> PathBuf
Expand description

Expand a leading ~ and any $VAR / ${VAR} in a config path; unset variables expand to nothing, as in a shell.