moirai-pal 0.7.0

Platform Abstraction Layer for Moirai async I/O operations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Directory-handle anchored native file opening.
//!
//! Path canonicalization followed by a second path open leaves a
//! time-of-check/time-of-use race. This module validates the lexical path and
//! resolves every component from an owned directory handle instead.

mod open;

#[cfg(unix)]
mod unix;

#[cfg(windows)]
mod windows;

#[cfg(test)]
mod tests;

pub use open::open_file_within_root;