Expand description
Directory mutation and symlink-aware inspection.
Structs§
- Entry
Info - Snapshot of one filesystem entry.
Enums§
- Entry
Kind - Kind of entry observed without following its final symlink.
Functions§
- canonicalize
- Canonicalize a path through the host filesystem.
- create
- Create exactly one directory.
- ensure
- Create a directory and every missing ancestor.
- entries
- Read and sort all immediate directory entries.
- inspect
- Inspect a path while following its final symlink.
- inspect_
link - Inspect a path without following its final symlink.
- inspect_
with 🔒 - remove_
file_ if_ exists - Remove a file when present.
- remove_
if_ empty - Remove an empty directory.
- remove_
tree_ if_ exists - Remove a directory tree when present.
- rename
- Rename one entry.