Skip to content

Refactor directory traversal to use walkdir crate - #11

Merged
adnissen merged 1 commit into
mainfrom
claude/walkdir-refactor-gdrqqm
Aug 13, 2026
Merged

Refactor directory traversal to use walkdir crate#11
adnissen merged 1 commit into
mainfrom
claude/walkdir-refactor-gdrqqm

Conversation

@adnissen

Copy link
Copy Markdown
Owner

Replace the hand-rolled collect_flatten_plan_recursive with a
WalkDir iterator. Include/exclude filtering of top-level directories
is handled via filter_entry so filtered subtrees are still pruned,
and the top-level directory for each file is derived from its path
relative to the root. Depth semantics are unchanged: a user-facing
max depth of N maps to walkdir depth N + 1.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01CUmXipnMxkHo3n7xLfArAh

Replace the hand-rolled collect_flatten_plan_recursive with a
WalkDir iterator. Include/exclude filtering of top-level directories
is handled via filter_entry so filtered subtrees are still pruned,
and the top-level directory for each file is derived from its path
relative to the root. Depth semantics are unchanged: a user-facing
max depth of N maps to walkdir depth N + 1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CUmXipnMxkHo3n7xLfArAh
@adnissen
adnissen merged commit ce68f45 into main Aug 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants