pub fn canonicalize_with<P, Q>(path: P, relative_to: Q) -> Result<PathBuf>
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