-
-
Notifications
You must be signed in to change notification settings - Fork 480
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 function-type options.ignore #261
Comments
If it is ok to do this, I can help with pr. |
@isaacs May I have any suggestions? |
kaelzhang
pushed a commit
to kaelzhang/node-glob
that referenced
this issue
Jul 21, 2016
This is a good feature request for v9, but supporting it on v8 was too terrible to consider. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible for
node-glob
to supportfunction
-typeoptions.ignore
?Case
If we want to list all files according to the
.gitignore
, and the.gitignore
file is:Suppose there are thousands of things inside
node_modules
, we should filter out those useless directories at the certain stage ofglob
and not afterglob
bing, or the matching process of glob will be very slow.But it is not that easy to use glob pattern to imitate the behavior of gitignore.
Proposal
The text was updated successfully, but these errors were encountered: