Function lstat
pub fn lstat<P>(path: P) -> Result<stat, Errno> ⓘwhere
P: Arg,
Available on crate feature
dep_rustix
only.Expand description
lstat(path)
—Queries metadata for a file or directory, without following
symlinks.
Mode::from_raw_mode
and FileType::from_raw_mode
may be used to
interpret the st_mode
field.