-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support ignores
in Bun.Glob options
#8182
Labels
bun.js
Something to do with a Bun-specific API
enhancement
New feature or request
glob
Related to Bun.Glob
Comments
Electroid
changed the title
Bun.Glob sync options supports
Support Jan 15, 2024
ignores
optionignores
in Bun.Glob options
I wanted this exact feature a couple of days ago. While working on the tooling for #8166, this is a feature I wanted but it would be too slow to filter the glob after matching it, so I had to use lame readdirRecursive implementations that shouldn't be written anymore. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bun.js
Something to do with a Bun-specific API
enhancement
New feature or request
glob
Related to Bun.Glob
What is the problem this feature would solve?
The pattern matching support isn't extensive enough. Currently I'm having to do the following
What is the feature you are proposing to solve the problem?
Add support for
ignores
option like fast-globWhat alternatives have you considered?
Expanding glob patterns with more extensive negative lookups or the like still isn't best devx experience / readable
The text was updated successfully, but these errors were encountered: