class documentation

class twisted.internet.inotify._Watch: (source)

View In Hierarchy

Watch object that represents a Watch point in the filesystem. The user should let INotify to create these objects

Instance Variable path The path over which this watch point is monitoring
Instance Variable mask The events monitored by this watchpoint
Instance Variable autoAdd Flag that determines whether this watch point should automatically add created subdirectories
Instance Variable callbacks list of callback functions that will be called when an event occurs on this watch.
Method __init__ Undocumented
Method _notify Callback function used by INotify to dispatch an event.
path = (source)
The path over which this watch point is monitoring
mask = (source)
The events monitored by this watchpoint
autoAdd = (source)
Flag that determines whether this watch point should automatically add created subdirectories
callbacks = (source)
list of callback functions that will be called when an event occurs on this watch.
def __init__(self, path, mask=IN_WATCH_MASK, autoAdd=False, callbacks=None): (source)

Undocumented

def _notify(self, filepath, events): (source)

Callback function used by INotify to dispatch an event.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.