Skip to content

Guard filter compilation against stray clear directives - #1307

Merged
oferchen merged 1 commit into
masterfrom
implement-missing-functionality-for-oc-rsync
Oct 28, 2025
Merged

oferchen merged 1 commit into
masterfrom
implement-missing-functionality-for-oc-rsync

Conversation

@oferchen

@oferchen oferchen commented Oct 28, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • add defensive handling for FilterAction::Clear while compiling filter segments so the match is exhaustive
  • assert during filter application that any remaining clear directives were normalized to FilterProgramEntry::Clear

Testing

  • cargo test -p rsync-engine --lib

@oferchen
oferchen merged commit 9ceef6d into master Oct 28, 2025
@oferchen
oferchen deleted the implement-missing-functionality-for-oc-rsync branch October 28, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant