fs_err::tokio

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.