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

Feature request - filter paths in :recursive mode #108

Open
sebbASF opened this issue Dec 1, 2022 · 0 comments
Open

Feature request - filter paths in :recursive mode #108

sebbASF opened this issue Dec 1, 2022 · 0 comments

Comments

@sebbASF
Copy link

sebbASF commented Dec 1, 2022

When monitoring a large directory tree, a lot of system resources can be required.
If one is only interested in a small subset of the tree, it would be useful to be able to ignore unwanted subtrees.

One way to do this might be to provide a filter to the INotify::Notifier#watch method, perhaps via an additional flag.
For maximum flexibility, the filter would be a boolean function, but a list of regexes might suffice.

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

1 participant