Function nu_path::canonicalize_with
source · [−]pub fn canonicalize_with<P, Q>(path: P, relative_to: Q) -> Result<PathBuf> where
P: AsRef<Path>,
Q: AsRef<Path>,
Expand description
Resolve all symbolic links and all components (tilde, ., .., …+) and return the path in its absolute form.
Fails under the same conditions as std::fs::canonicalize. The input path is specified relative to another path