Skip to content

fix(builtins): add find -path predicate and fix -not argument consumption#974

Merged
chaliy merged 1 commit intomainfrom
fix/issue-950-find-path-not
Apr 2, 2026
Merged

fix(builtins): add find -path predicate and fix -not argument consumption#974
chaliy merged 1 commit intomainfrom
fix/issue-950-find-path-not

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Apr 2, 2026

Summary

  • Add -path PATTERN predicate to find builtin, matching against full paths with glob patterns
  • Fix -not/! to properly consume the following predicate and its arguments before negating

Test plan

  • New spec tests: find_path_predicate, find_not_name, find_not_path_exclude
  • No regressions in existing spec tests
  • clippy + fmt clean

Closes #950

…tion

Add -path predicate that matches against full paths using glob patterns.
Fix -not/! to properly consume the following predicate and its arguments
before negating, rather than only skipping itself.

Closes #950
@chaliy chaliy merged commit 8e0d90d into main Apr 2, 2026
27 checks passed
@chaliy chaliy deleted the fix/issue-950-find-path-not branch April 2, 2026 06:21
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.

find builtin: -path predicate unsupported, -not doesn't consume its argument

1 participant