Skip to main content
Module safe_traversal
uucore
0.8.0
Module safe_
traversal
Module Items
Structs
Enums
Functions
In crate uucore
uucore
Module
safe_
traversal
Copy item path
Source
Structs
§
DirFd
A directory file descriptor that enables safe traversal
File
Info
File information for tracking inodes
Metadata
Metadata wrapper for safer access to file information
Enums
§
File
Type
File type enumeration for better type safety
Safe
Traversal
Error
Symlink
Behavior
Enum to specify symlink following behavior.
Functions
§
create_
dir_
all_
safe
Safely create all parent directories for a path using directory file descriptors. This prevents symlink race conditions by anchoring all operations to directory fds.