Expand description
Extensions for cap_std::fs::Dir
. Key features here include:
- “optional” variants that return
Result<Option<T>>
for nonexistent paths, when it is a normal case that paths may not exist. - A helper to update timestamps
- “atomic write” APIs that create a new file, then rename over the existing one to avoid half-written updates to files.
Structs§
- Walk
Component - A directory entry encountered when using the
walk
function. - Walk
Configuration - Options controlling recursive traversal with
walk
.
Traits§
- CapStd
ExtDir Ext - Extension trait for
cap_std::fs::Dir
.
Type Aliases§
- Walk
Result - The return value of a [
walk
] callback.