Adds Inotify.watches() and EventStream.watches() to get the Watches struct. Watches::add and Watches::remove are intended to replace the now-deprecated Inotify::add_watch and Inotify::rm_watch.
Hope I understood the refactoring specifications and scope correctly. Fixes #177
Adds
Inotify.watches()
andEventStream.watches()
to get the Watches struct.Watches::add
andWatches::remove
are intended to replace the now-deprecatedInotify::add_watch
andInotify::rm_watch
.Hope I understood the refactoring specifications and scope correctly. Fixes #177