Skip to main content

metadata

Function metadata 

Source
pub fn metadata(path: &Path) -> Result<Metadata>
Expand description

Counted wrapper around std::fs::metadata.

§Errors

Returns an error under the same conditions as std::fs::metadata — most commonly, path does not exist or is not accessible.