Skip to main content

expand_path

Function expand_path 

Source
pub fn expand_path(input: &str) -> PathBuf
Expand description

Expand a user-provided path — supports leading ~ and $HOME only.

We intentionally avoid pulling in a shell-expansion crate: configuration paths are authored by a human and the two cases above cover everything real users do.