pub fn stat<P: Arg>(path: P) -> Result<Stat>
Expand description
stat(path)
—Queries metadata for a file or directory.
Mode::from_raw_mode
and FileType::from_raw_mode
may be used to
interpret the st_mode
field.
pub fn stat<P: Arg>(path: P) -> Result<Stat>
stat(path)
—Queries metadata for a file or directory.
Mode::from_raw_mode
and FileType::from_raw_mode
may be used to
interpret the st_mode
field.