file_guard/os/
mod.rs

1//! Provides low-level support operations for file locking.
2#[cfg(windows)]
3pub mod windows;
4
5#[cfg(windows)]
6pub use self::windows::{raw_file_lock, raw_file_downgrade};
7
8#[cfg(unix)]
9#[macro_use]
10pub mod unix;
11
12#[cfg(unix)]
13pub use self::unix::{raw_file_lock, raw_file_downgrade};