1//! Filesystem API constants, translated into `bitflags` constants. 2 3use crate::backend; 4 5pub use crate::io::FdFlags; 6pub use backend::fs::types::{Access, Mode, OFlags}; 7 8#[cfg(not(target_os = "redox"))] 9pub use backend::fs::types::AtFlags; 10 11#[cfg(any(target_os = "ios", target_os = "macos"))] 12pub use backend::fs::types::{CloneFlags, CopyfileFlags}; 13 14#[cfg(any(target_os = "android", target_os = "linux"))] 15pub use backend::fs::types::{MountFlags, MountPropagationFlags, RenameFlags, ResolveFlags}; 16 17#[cfg(not(target_os = "redox"))] 18pub use backend::fs::types::Dev; 19 20pub use backend::time::types::{Nsecs, Secs, Timespec}; 21