-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the allofany matching type (#423) #487
Conversation
This is true when all files match any of the patterns.
npm run verify -- --tree=merkle-tree.json --hash=08a72001307d26afe079f6582ea5aacbeb7e1a01 |
It would be nice to get this into v5. I count 3 open issues that this feature would address, plus my own use case. |
I would call this filter
Is it how this works? |
I don't think that table is accurate, if I'm reading it correctly (where each glob [a, b] matches a single, different file). If I make the globs look like globs for clarity of this interpretation, the table would be:
The While I'm not married to the name, it should be consistent with the existing operators. |
This PR has been superseded by #680. |
dfandrich:allofany |
Note that the semantics of PR #680 turn out not to match this PR's. |
This is true when all files match any of the patterns.