Document what happens when watching twice the same path
@xclaesse
Submitted by Xavier Claessens Assigned to dco..@..e.bugs
Link to original bug (#759274)
Description
What happens if I do:
- watch("/a"); watch("/a"); unwatch("/a")
- watch("/"); watch("/a"); unwatch("/")
Reading the code, watch/unwatch are trivial wrapper over DBus AddMatch/RemoveMatch. So I think I think the 2 example above results in still watching "/a".
I think that behaviour should be documented, or explicitly say it's undefined.
Version: git master