Function fs_err::metadata

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

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

Wrapper for fs::metadata.