1
2
3
4
5
6
7
8
9
10
11
12
13
//! Provides low-level support operations for file locking.
#[cfg(windows)]
pub mod windows;

#[cfg(windows)]
pub use self::windows::{raw_file_lock, raw_file_downgrade};

#[cfg(unix)]
#[macro_use]
pub mod unix;

#[cfg(unix)]
pub use self::unix::{raw_file_lock, raw_file_downgrade};