pub async fn canonicalize(path: impl AsRef<Path>) -> Result<PathBuf>
The absolute path of path, every link and .. resolved.
path
..