[−][src]Function cap_primitives::fs::canonicalize
pub fn canonicalize(start: &File, path: &Path) -> Result<PathBuf>
Canonicalize the given path, ensuring that the resolution of the path never
escapes the directory tree rooted at start
.