Skip to main content

expand_path

Function expand_path 

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

Expand a path that may start with ~ to the full home directory path. Also strips a leading @ prefix (used by some tool interfaces).