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