fs_err::tokio

Function metadata

source
pub async fn metadata(path: impl AsRef<Path>) -> Result<Metadata>
Available on crate feature tokio only.
Expand description

Given a path, queries the file system to get information about a file, directory, etc.

Wrapper for tokio::fs::metadata.