Introduce FsPathFollow

Make sure all operations of FsPath do not follow symlinks, and provide
a way to explicitly switch over to a set of operations that DO follow
symlinks by FsPath::follow_link.
This commit is contained in:
topjohnwu
2025-03-07 15:51:51 -08:00
committed by John Wu
parent c64de35375
commit 6ff82c4e86
5 changed files with 526 additions and 431 deletions
+2
View File
@@ -8,6 +8,7 @@ use num_traits::FromPrimitive;
pub use cstr::*;
use cxx_extern::*;
pub use dir::*;
pub use ffi::fork_dont_care;
pub use files::*;
pub use logging::*;
@@ -16,6 +17,7 @@ pub use result::*;
mod cstr;
mod cxx_extern;
mod dir;
mod files;
mod logging;
mod misc;