Function treefmt::expand_path [−][src]
pub fn expand_path(path: &Path, reference: &Path) -> PathBuf
Expand description
Returns an absolute path. If the path is absolute already, leave it alone. Otherwise join it to the reference path. Then clean all superfluous ../