metadata

Function metadata 

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

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

ยงErrors

May return any of the same errors as std::fs::metadata