Expand description
Filesystem traversal that produces TreeEntry lists for substrate tree hashing.
Implements substrate::DirReader for real filesystem I/O, delegating
filtering decisions (exclude_names, follow_rules) to substrate.
Structs§
- FsReader
- Real filesystem reader with gitignore-style follow_rules support.
Functions§
- check_
no_ symlinks - Check that a directory tree contains no symlinks (respecting exclude_names and follow_rules).
- compute_
tree_ hash - Convenience: walk + compute hash in one call.
- walk_
dir - Walk a directory and produce in-memory
TreeEntryvalues.