Expand description
Recursive candidate collection on top of walkdir (DESIGN.md §6).
- Symlinks are never followed (invariant #9); symlinked files are also skipped entirely.
- Excluded directories are pruned during traversal (never descended into).
- The root entry itself is always kept: an explicitly given
--rootmust be honored even when its basename collides with an exclusion rule. - Walk errors (permission, …) are collected as warnings, never fatal.
Structs§
- Walk
Result - Collected candidates plus non-fatal traversal warnings.
Functions§
- collect_
files - Collect whitelisted files under
root, sorted by path (invariant #8).