(path: P, mode: Mode)
| 58 | #[cfg(not(target_os = "wasi"))] |
| 59 | #[inline] |
| 60 | pub fn chmod<P: path::Arg>(path: P, mode: Mode) -> io::Result<()> { |
| 61 | path.into_with_c_str(|path| backend::fs::syscalls::chmod(path, mode)) |
| 62 | } |
| 63 | |
| 64 | /// `stat(path)`—Queries metadata for a file or directory. |
| 65 | /// |