Changes between Initial Version and Version 1 of Ticket #2559, comment 6


Ignore:
Timestamp:
2015-11-04T00:10:02Z (9 years ago)
Author:
daira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2559, comment 6

    initial v1  
    11Replying to [comment:5 daira]:
    2 > Currently subdirectory watches are added with `recursive=True`. I'm sure sure whether this will result in duplicate events being delivered if a watch for a directory is added twice.
     2> Currently subdirectory watches are added with `recursive=True`. I'm not sure whether this will result in duplicate events being delivered if a watch for a directory is added twice.
    33
    44Actually that's not a problem because [https://twistedmatrix.com/trac/browser/tags/releases/twisted-15.2.0/twisted/internet/inotify.py#L362 Twisted ignores duplicate watch requests]. It's also necessary for the case where an existing directory is moved into a monitored one, so that there would otherwise be no notifications for its subdirectories.