notify-rs/notify

Feature request: unwatch subpaths

rbalicki2 opened this issue · 0 comments

Thank you for the wonderful crate. I think it would make sense if one was able to unwatch paths, after having watched a parent path. e.g.:

watcher.watch("/")
assert!(watcher.unwatch("/foo").is_ok())

Anyway, no big deal if this isn't on the roadmap, I can presumably filter based on the event paths. But I thought it was worth suggesting!

Thank you!