Function broot::path::untilde

source ·
pub fn untilde(input: &str) -> PathBuf
Expand description

If the input has a tilde as first complete element, replace it with the user’s home directory. Return the input as a path without transformation in other cases