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