Re-exportsยง
use libc::dirent64;๐use libc::fstat64;๐use libc::ftruncate64;๐use libc::lseek64;๐use libc::lstat64;๐use libc::off64_t;๐use libc::open64;๐use libc::stat64;๐use libc::stat64;๐use libc::c_char;๐GNU and Linux use libc::c_int;๐use libc::mode_t;๐use crate::ffi::CStr;๐use crate::ffi::OsStr;๐use crate::ffi::OsString;๐use crate::fmt;๐use crate::fmt::Write as _;๐use crate::fs::TryLockError;๐use crate::io;๐use crate::io::BorrowedCursor;๐Experimental use crate::io::Error;๐use crate::io::IoSlice;๐use crate::io::IoSliceMut;๐use crate::io::SeekFrom;๐use crate::os::fd::AsFd;๐use crate::os::fd::AsRawFd;๐use crate::os::fd::BorrowedFd;๐use crate::os::fd::FromRawFd;๐use crate::os::fd::IntoRawFd;๐pub use crate::os::unix::fs::dirs::ExtraHomeDirs;Non-WASI pub use crate::os::unix::fs::dirs::ExtraMediaDirs;Non-WASI use crate::path::Path;๐use crate::path::PathBuf;๐use crate::sync::Arc;๐use crate::sys::fd::FileDesc;๐Experimental pub use crate::sys::fs::common::exists;use crate::sys::helpers::run_path_with_cstr;๐use crate::sys::time::SystemTime;๐use crate::sys::weak::syscall;๐Android or Linux use crate::sys::AsInner;๐use crate::sys::AsInnerMut;๐use crate::sys::FromInner;๐use crate::sys::IntoInner;๐use crate::sys::cvt;๐use crate::sys::cvt_r;๐use crate::mem;๐use crate::ptr;๐pub use dir::Dir;pub(in sys) use cfm::CachedFileMetadata;๐Android or Linux pub use remove_dir_impl::remove_dir_all;use crate::os::unix::prelude::*;๐target_family=unix
Modulesยง
- cfm ๐
- dir ๐
- remove_
dir_ ๐impl Neither mirinor 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 - runtime_
symbols ๐
Macrosยง
- cfg_
has_ ๐statx
Structsยง
- DirBuilder
- DirEntry
- DirStream ๐
- File
- File
Attr - File
Permissions - File
Times - File
Type - Inner
Read ๐Dir - Mode ๐
- Open
Options - ReadDir
- Statx
Extra ๐Fields - dirent64_
min ๐
Functionsยง
- canonicalize
- chown
Non-WASI - chroot
Neither Fuchsia nor VxWorks nor WASI - copy
Non-Apple - debug_
assert_ ๐fd_ is_ open - Aborts the process if a file descriptor is not open, if debug asserts are enabled
- debug_
path_ ๐fd - fchown
Non-WASI - file_
time_ ๐to_ timespec Neither ESP-IDF nor Horizon nor NuttX nor Redox OS - get_
path_ ๐from_ fd - lchown
Neither VxWorks nor WASI - link
- link_
then_ ๐unlink - lstat
- mkfifo
Non-WASI - open_
from ๐ - open_
to_ ๐and_ set_ permissions Neither ESP-IDF nor WASI - readdir
- readlink
- rename
- rename_
noreplace Android or Linux - rmdir
- set_
perm - set_
perm_ nofollow Non-VxWorks - set_
times - set_
times_ ๐impl - set_
times_ nofollow - stat
- symlink
- try_
statx ๐ โ - unlink