453
454
w_dict = self._general_watchs
454
455
events = INOTIFY_EVENTS_GENERAL
457
463
self.log.debug("Adding %s inotify watch to %r", w_type, dirpath)
458
464
result = w_manager.add_watch(dirpath, events)
459
465
w_dict[dirpath] = result[dirpath]
466
468
def inotify_watch_fix(self, pathfrom, pathto):
467
469
"""Fix the path in inotify structures."""