Skip to content
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 glob negation support #26

Closed
andreynering opened this issue Sep 7, 2019 · 2 comments
Closed

Add glob negation support #26

andreynering opened this issue Sep 7, 2019 · 2 comments

Comments

@andreynering
Copy link

Hi @mattn, thanks a lot for maintaining this lib! I've being using it for a long time and it's pretty stable and fast!

Negation would allow to exclude a given patten from the returned files.

For example, this would return all .go files, but not those living in the vendor/ directory:

./!(vendor)/**/*.go
@mattn
Copy link
Owner

mattn commented Aug 13, 2021

Fixed in last change.

@mattn mattn closed this as completed Aug 13, 2021
@marco-m
Copy link

marco-m commented Aug 13, 2021

thanks! :-)

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

No branches or pull requests

3 participants