path_metadata

Function path_metadata 

Source
fn path_metadata(path: impl AsRef<Path>) -> Result<Metadata, Error>
Expand description

Retrieves Metadata for a path and maps std::io::Error to crate::Error.