Function expand_tilde_owned

Source
pub fn expand_tilde_owned<P: AsRef<Path>>(path: P) -> Result<PathBuf>
Expand description

Similar to expand_tilde, but accepts the path by value and returns owned paths.

ยงErrors

This function propagates errors returned by expand_tilde.