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

Difference between del_watch and rm_watch unclear from doc #184

Open
azertyfun opened this issue Nov 26, 2019 · 0 comments
Open

Difference between del_watch and rm_watch unclear from doc #184

azertyfun opened this issue Nov 26, 2019 · 0 comments

Comments

@azertyfun
Copy link

Hi,

Looking at the API Documentation, one could assume that WatchManager.del_watch does the same job as WatchManager.rm_watch, when in fact the former only deletes the watch manager's internal reference while the latter actually removes it from the inotify thread.

This is clear from the code, but when looking for a way to unregister a watch, I did not read every method in the WM doc and used the first one that (I thought) matched my requirements.

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