Skip to content

SC-7: include/exclude filter rule matching engine - #3

Merged
iampryce merged 1 commit into
mainfrom
sc-7-filter-rules
Jul 31, 2026
Merged

iampryce merged 1 commit into
mainfrom
sc-7-filter-rules

Conversation

@iampryce

Copy link
Copy Markdown
Contributor

Wildcard matching (*, **, ?), directory-only patterns, first-match-wins evaluation, --exclude-from/--include-from, and --filter merge support.

Anchoring follows rsync's real rule: leading /, any internal /, or ** all anchor to root; only a bare filename matches at any depth.

Filtering runs as a post-pass over Walk()'s output, keeping SC-4's traversal untouched and independently testable.

Wildcard matching (*, **, ?), directory-only patterns, first-match-wins evaluation, --exclude-from/--include-from, and --filter merge support.

Anchoring follows rsync's real rule: leading /, any internal /, or ** all anchor to root; only a bare filename matches at any depth.

Filtering runs as a post-pass over Walk()'s output, keeping SC-4's traversal untouched and independently testable.
@iampryce
iampryce requested a review from jasonmiller-cc July 31, 2026 15:20
@iampryce
iampryce merged commit f9a683b into main Jul 31, 2026
2 checks 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.

1 participant