1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
//! Abstraction layer for platform-specific behaviors rapidtar needs.

pub mod portable;

#[cfg(windows)]
pub mod windows;

#[cfg(unix)]
pub mod unix;

#[cfg(unix)]
pub use crate::fs::unix::*;

#[cfg(windows)]
pub use crate::fs::windows::*;

#[cfg(all(not(unix), not(windows)))]
pub use crate::fs::portable::*;