mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-10 15:16:56 +00:00
49593dd77d
Signed-off-by: junxiang Mu <1948535941@qq.com>
14 lines
340 B
Rust
14 lines
340 B
Rust
#[cfg(target_os = "linux")]
|
|
mod linux;
|
|
#[cfg(all(unix, not(target_os = "linux")))]
|
|
mod unix;
|
|
#[cfg(target_os = "windows")]
|
|
mod windows;
|
|
|
|
#[cfg(target_os = "linux")]
|
|
pub use linux::get_info;
|
|
pub use linux::same_disk;
|
|
#[cfg(all(unix, not(target_os = "linux")))]
|
|
pub use unix::get_info;
|
|
#[cfg(target_os = "windows")]
|
|
pub use windows::get_info; |