Repository navigation
Expand file tree
/
Copy pathlib.rs
More file actions
110 lines (101 loc) · 2.34 KB
/
Copy pathlib.rs
File metadata and controls
110 lines (101 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#![allow(clippy::must_use_candidate)]
extern crate alloc;
#[macro_use]
mod macros;
pub use macros::*;
#[cfg(feature = "ctypes")]
pub mod ctypes;
#[cfg(any(unix, windows, target_os = "wasi"))]
pub mod errno;
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
#[path = "errno_wasm.rs"]
pub mod errno;
#[cfg(any(unix, windows, target_os = "wasi"))]
pub mod io;
#[cfg(all(target_arch = "wasm32", not(target_os = "wasi")))]
#[path = "io_unsupported.rs"]
pub mod io;
pub mod os;
#[cfg(any(unix, windows))]
pub mod thread;
#[cfg(any(unix, windows, target_os = "wasi"))]
pub mod crt_fd;
#[cfg(all(target_arch = "wasm32", not(target_os = "wasi")))]
#[path = "crt_fd_unsupported.rs"]
pub mod crt_fd;
#[cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))]
pub mod fileutils;
pub mod fs;
#[cfg(any(unix, windows))]
pub mod locale;
#[cfg(feature = "native-certs")]
pub mod native_certs;
pub mod readline;
#[cfg(feature = "ssl")]
pub mod ssl;
#[cfg(windows)]
pub mod windows;
#[cfg(any(unix, target_os = "wasi"))]
pub mod fcntl;
#[cfg(any(unix, windows, target_os = "wasi"))]
pub mod select;
#[cfg(any(unix, windows))]
pub mod socket;
#[cfg(any(all(target_arch = "wasm32", target_os = "unknown"), target_os = "wasi"))]
#[path = "socket_wasm.rs"]
pub mod socket;
#[cfg(unix)]
pub mod syslog;
#[cfg(all(unix, not(target_os = "redox"), not(target_os = "ios")))]
pub mod termios;
#[cfg(unix)]
pub mod grp;
#[cfg(unix)]
pub mod posix;
#[cfg(target_os = "wasi")]
#[path = "posix_wasi.rs"]
pub mod posix;
#[cfg(windows)]
#[path = "posix_windows.rs"]
pub mod posix;
#[cfg(any(unix, target_os = "wasi"))]
pub mod posix_unix_like;
#[cfg(unix)]
pub mod pwd;
#[cfg(unix)]
pub mod resource;
#[cfg(all(unix, not(target_os = "redox"), not(target_os = "android")))]
pub mod shm;
#[cfg(any(unix, windows))]
pub mod signal;
pub mod time;
#[cfg(windows)]
pub mod cert_store;
#[cfg(target_os = "macos")]
pub mod system_configuration {
pub use ::system_configuration::*;
}
#[cfg(any(unix, windows))]
pub mod faulthandler;
#[cfg(any(unix, windows))]
pub mod mmap;
#[cfg(windows)]
pub mod msvcrt;
#[cfg(any(unix, windows))]
pub mod multiprocessing;
#[cfg(windows)]
pub mod nt;
#[cfg(windows)]
pub mod overlapped;
#[cfg(windows)]
pub mod testconsole;
#[cfg(windows)]
pub mod uuid;
#[cfg(windows)]
pub mod winapi;
#[cfg(windows)]
pub mod winreg;
#[cfg(windows)]
pub mod winsound;
#[cfg(windows)]
pub mod wmi;