[go: up one dir, main page]

canonicalize

Function canonicalize 

Source
pub async fn canonicalize(path: impl AsRef<Path>) -> Result<PathBuf>
Available on crate feature tokio only.
Expand description

Returns the canonical, absolute form of a path with all intermediate components normalized and symbolic links resolved.

Wrapper for tokio::fs::canonicalize.