(path: P)
| 76 | /// [`FileType::from_raw_mode`]: crate::fs::FileType::from_raw_mode |
| 77 | #[inline] |
| 78 | pub fn stat<P: path::Arg>(path: P) -> io::Result<Stat> { |
| 79 | path.into_with_c_str(backend::fs::syscalls::stat) |
| 80 | } |
| 81 | |
| 82 | /// `lstat(path)`—Queries metadata for a file or directory, without following |
| 83 | /// symlinks. |