Skip to main content

Module directory

Module directory 

Source
Expand description

Directory mutation and symlink-aware inspection.

Structs§

EntryInfo
Snapshot of one filesystem entry.

Enums§

EntryKind
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.