Available on neither
miri nor ESP-IDF nor Horizon nor L4Re nor Play Station Vita nor QNX SDP 7.x nor QNX SDP 8.0+ nor Redox OS nor VxWorks.Re-exportsยง
use libc::fdopendir;๐GNU and Linux use libc::openat64 as openat;๐GNU and Linux use libc::unlinkat;๐GNU and Linux use super::AsRawFd;๐use super::DirEntry;๐use super::DirStream;๐use super::FromRawFd;๐use super::InnerReadDir;๐use super::IntoRawFd;๐use super::OwnedFd;๐use super::RawFd;๐use super::ReadDir;๐use super::lstat;๐use crate::ffi::CStr;๐use crate::io;๐use crate::path::Path;๐use crate::path::PathBuf;๐use crate::sys::helpers::ignore_notfound;๐use crate::sys::helpers::run_path_with_cstr;๐use crate::sys::cvt;๐use crate::sys::cvt_r;๐
Functionsยง
- fdreaddir ๐
- is_dir ๐
Neither AIX nor Haiku nor illumos nor Solaris nor VxWorks - is_
enoent ๐ - openat_
nofollow_ dironly - remove_
dir_ all - remove_
dir_ ๐all_ modern - remove_
dir_ ๐all_ recursive parent_fdbeingNoneindicates that this is the root where we start. In that case,pathwill only be deleted if it is a directory. When it isSome, this will delete anything.