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

Indexes created Thu Nov 07 10:32:03 CST 2024