Debian Codegraph @

debian/missing-sources/rustix/src/fs/mod.rs

raw symbols SCIP
1 //! Filesystem operations.
2
3 mod absrust-analyzer cargo rustix 1.1.3 fs/abs/;
4 #[cfg(not(target_os = "redox"))]
5 mod atrust-analyzer cargo rustix 1.1.3 fs/at/;
6 mod constantsrust-analyzer cargo rustix 1.1.3 fs/constants/;
7 #[cfg(linux_kernel)]
8 mod copy_file_range;
9 #[cfg(all(feature = "alloc", not(any(target_os = "espidf", target_os = "redox"))))]
10 mod dirrust-analyzer cargo rustix 1.1.3 fs/dir/;
11 #[cfg(not(any(
12 apple,
13 netbsdlike,
14 target_os = "dragonfly",
15 target_os = "espidf",
16 target_os = "haiku",
17 target_os = "horizon",
18 target_os = "redox",
19 target_os = "solaris",
20 target_os = "vita",
21 )))]
22 mod fadviserust-analyzer cargo rustix 1.1.3 fs/fadvise/;
23 pub(craterust-analyzer cargo rustix 1.1.3 crate/) mod fcntlrust-analyzer cargo rustix 1.1.3 fs/fcntl/;
24 #[cfg(apple)]
25 mod fcntl_apple;
26 #[cfg(apple)]
27 mod fcopyfile;
28 pub(craterust-analyzer cargo rustix 1.1.3 crate/) mod fdrust-analyzer cargo rustix 1.1.3 fs/fd/;
29 #[cfg(all(apple, feature = "alloc"))]
30 mod getpath;
31 #[cfg(not(target_os = "wasi"))] // WASI doesn't have get[gpu]id.
32 mod idrust-analyzer cargo rustix 1.1.3 fs/id/;
33 #[cfg(linux_raw_dep)]
34 pub mod inotify;
35 #[cfg(linux_kernel)]
36 mod ioctl;
37 #[cfg(not(any(
38 target_os = "espidf",
39 target_os = "haiku",
40 target_os = "horizon",
41 target_os = "vita",
42 target_os = "wasi"
43 )))]
44 mod makedevrust-analyzer cargo rustix 1.1.3 fs/makedev/;
45 #[cfg(any(linux_kernel, target_os = "freebsd"))]
46 mod memfd_create;
47 #[cfg(linux_raw_dep)]
48 mod openat2;
49 #[cfg(linux_kernel)]
50 mod raw_dir;
51 mod seek_fromrust-analyzer cargo rustix 1.1.3 fs/seek_from/;
52 #[cfg(target_os = "linux")]
53 mod sendfilerust-analyzer cargo rustix 1.1.3 fs/sendfile/;
54 #[cfg(not(any(target_os = "espidf", target_os = "redox")))]
55 mod specialrust-analyzer cargo rustix 1.1.3 fs/special/;
56 #[cfg(linux_kernel)]
57 mod statx;
58 #[cfg(not(any(
59 target_os = "espidf",
60 target_os = "horizon",
61 target_os = "redox",
62 target_os = "vita",
63 target_os = "wasi"
64 )))]
65 mod syncrust-analyzer cargo rustix 1.1.3 fs/sync/;
66 #[cfg(any(apple, linux_kernel, target_os = "hurd"))]
67 mod xattr;
68
69 pub use absrust-analyzer cargo rustix 1.1.3 fs/abs/::*;
70 #[cfg(not(target_os = "redox"))]
71 pub use atrust-analyzer cargo rustix 1.1.3 fs/at/::*;
72 pub use constantsrust-analyzer cargo rustix 1.1.3 fs/constants/::*;
73 #[cfg(linux_kernel)]
74 pub use copy_file_range::copy_file_range;
75 #[cfg(all(feature = "alloc", not(any(target_os = "espidf", target_os = "redox"))))]
76 pub use dirrust-analyzer cargo rustix 1.1.3 fs/dir/::{Dir, DirEntry};
77 #[cfg(not(any(
78 apple,
79 netbsdlike,
80 target_os = "dragonfly",
81 target_os = "espidf",
82 target_os = "haiku",
83 target_os = "horizon",
84 target_os = "redox",
85 target_os = "solaris",
86 target_os = "vita",
87 )))]
88 pub use fadviserust-analyzer cargo rustix 1.1.3 fs/fadvise/::fadviserust-analyzer cargo rustix 1.1.3 fs/fadvise/fadvise().;
89 pub use fcntlrust-analyzer cargo rustix 1.1.3 fs/fcntl/::*;
90 #[cfg(apple)]
91 pub use fcntl_apple::*;
92 #[cfg(apple)]
93 pub use fcopyfile::*;
94 pub use fdrust-analyzer cargo rustix 1.1.3 fs/fd/::*;
95 #[cfg(all(apple, feature = "alloc"))]
96 pub use getpath::getpath;
97 #[cfg(not(target_os = "wasi"))]
98 pub use idrust-analyzer cargo rustix 1.1.3 fs/id/::*;
99 #[cfg(linux_kernel)]
100 pub use ioctl::*;
101 #[cfg(not(any(
102 target_os = "espidf",
103 target_os = "haiku",
104 target_os = "horizon",
105 target_os = "vita",
106 target_os = "wasi"
107 )))]
108 pub use makedevrust-analyzer cargo rustix 1.1.3 fs/makedev/::*;
109 #[cfg(any(linux_kernel, target_os = "freebsd"))]
110 pub use memfd_create::memfd_create;
111 #[cfg(linux_raw_dep)]
112 pub use openat2::openat2;
113 #[cfg(linux_kernel)]
114 pub use raw_dir::{RawDir, RawDirEntry};
115 pub use seek_fromrust-analyzer cargo rustix 1.1.3 fs/seek_from/::SeekFromrust-analyzer cargo rustix 1.1.3 fs/seek_from/SeekFrom#;
116 #[cfg(target_os = "linux")]
117 pub use sendfilerust-analyzer cargo rustix 1.1.3 fs/sendfile/::sendfile;
118 #[cfg(not(any(target_os = "espidf", target_os = "redox")))]
119 pub use specialrust-analyzer cargo rustix 1.1.3 fs/special/::*;
120 #[cfg(linux_kernel)]
121 pub use statx::*;
122 #[cfg(not(any(
123 target_os = "espidf",
124 target_os = "horizon",
125 target_os = "redox",
126 target_os = "vita",
127 target_os = "wasi"
128 )))]
129 pub use syncrust-analyzer cargo rustix 1.1.3 fs/sync/::syncrust-analyzer cargo rustix 1.1.3 fs/sync/sync().;
130 #[cfg(any(apple, linux_kernel, target_os = "hurd"))]
131 pub use xattr::*;
132
133 /// Re-export types common to POSIX-ish platforms.
134 #[cfg(feature = "std")]
135 #[cfg(unix)]
136 pub use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::osrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/::unixrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/unix/::fsrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/unix/fs/::{DirEntryExtrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/unix/fs/DirEntryExt#, FileExtrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/unix/fs/FileExt#, FileTypeExtrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/unix/fs/FileTypeExt#, MetadataExtrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/unix/fs/MetadataExt#, OpenOptionsExtrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/unix/fs/OpenOptionsExt#};
137 #[cfg(feature = "std")]
138 #[cfg(all(wasi_ext, target_os = "wasi"))]
139 pub use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::osrust-analyzer cargo std https://github.com/rust-lang/rust/library/std os/::wasi::fs::{DirEntryExt, FileExt, FileTypeExt, MetadataExt, OpenOptionsExt};