SYMBOL INDEX (811 symbols across 51 files) FILE: docs/source/examples/patterns.py class MyEventHandler (line 11) | class MyEventHandler(PatternMatchingEventHandler): method on_any_event (line 12) | def on_any_event(self, event: FileSystemEvent) -> None: FILE: docs/source/examples/simple.py class MyEventHandler (line 13) | class MyEventHandler(events.FileSystemEventHandler): method catch_all_handler (line 14) | def catch_all_handler(self, event: events.FileSystemEvent) -> None: method on_moved (line 17) | def on_moved(self, event: events.DirMovedEvent | events.FileMovedEvent... method on_created (line 20) | def on_created(self, event: events.DirCreatedEvent | events.FileCreate... method on_deleted (line 23) | def on_deleted(self, event: events.DirDeletedEvent | events.FileDelete... method on_modified (line 26) | def on_modified(self, event: events.DirModifiedEvent | events.FileModi... method on_closed (line 29) | def on_closed(self, event: events.FileClosedEvent) -> None: method on_closed_no_write (line 32) | def on_closed_no_write(self, event: events.FileClosedNoWriteEvent) -> ... method on_opened (line 35) | def on_opened(self, event: events.FileOpenedEvent) -> None: FILE: src/pythoncapi_compat.h function PyObject (line 64) | static inline PyObject* _Py_NewRef(PyObject *obj) function PyObject (line 75) | static inline PyObject* _Py_XNewRef(PyObject *obj) function _Py_SET_REFCNT (line 86) | static inline void _Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) function _Py_SET_TYPE (line 133) | static inline void _Py_SET_TYPE(PyObject *ob, PyTypeObject *type) function _Py_SET_SIZE (line 143) | static inline void _Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) function PyCodeObject (line 153) | static inline PyCodeObject* PyFrame_GetCode(PyFrameObject *frame) function PyCodeObject (line 161) | static inline PyCodeObject* _PyFrame_GetCodeBorrow(PyFrameObject *frame) function PyFrameObject (line 171) | static inline PyFrameObject* PyFrame_GetBack(PyFrameObject *frame) function PyFrameObject (line 179) | static inline PyFrameObject* _PyFrame_GetBackBorrow(PyFrameObject *frame) function PyObject (line 190) | static inline PyObject* PyFrame_GetLocals(PyFrameObject *frame) function PyObject (line 206) | static inline PyObject* PyFrame_GetGlobals(PyFrameObject *frame) function PyObject (line 215) | static inline PyObject* PyFrame_GetBuiltins(PyFrameObject *frame) function PyFrame_GetLasti (line 224) | static inline int PyFrame_GetLasti(PyFrameObject *frame) function PyObject (line 243) | static inline PyObject* PyFrame_GetVar(PyFrameObject *frame, PyObject *n... function PyObject (line 276) | static inline PyObject* function PyInterpreterState (line 297) | static inline PyInterpreterState * function PyFrameObject (line 308) | static inline PyFrameObject* PyThreadState_GetFrame(PyThreadState *tstate) function PyFrameObject (line 316) | static inline PyFrameObject* function PyInterpreterState (line 328) | static inline PyInterpreterState* PyInterpreterState_Get(void) function PyThreadState_GetID (line 348) | static inline uint64_t PyThreadState_GetID(PyThreadState *tstate) function PyThreadState_EnterTracing (line 357) | static inline void PyThreadState_EnterTracing(PyThreadState *tstate) function PyThreadState_LeaveTracing (line 370) | static inline void PyThreadState_LeaveTracing(PyThreadState *tstate) function PyObject (line 387) | static inline PyObject* PyObject_CallNoArgs(PyObject *func) function PyObject (line 398) | static inline PyObject* PyObject_CallOneArg(PyObject *func, PyObject *arg) function PyModule_AddObjectRef (line 407) | static inline int function PyModule_AddType (line 432) | static inline int PyModule_AddType(PyObject *module, PyTypeObject *type) function PyObject_GC_IsTracked (line 456) | static inline int PyObject_GC_IsTracked(PyObject* obj) function PyObject_GC_IsFinalized (line 465) | static inline int PyObject_GC_IsFinalized(PyObject *obj) function _Py_IS_TYPE (line 475) | static inline int _Py_IS_TYPE(PyObject *ob, PyTypeObject *type) { function PyFloat_Pack2 (line 487) | static inline int PyFloat_Pack2(double x, char *p, int le) function PyFloat_Unpack2 (line 490) | static inline double PyFloat_Unpack2(const char *p, int le) function PyFloat_Pack4 (line 501) | static inline int PyFloat_Pack4(double x, char *p, int le) function PyFloat_Pack8 (line 504) | static inline int PyFloat_Pack8(double x, char *p, int le) function PyFloat_Unpack4 (line 507) | static inline double PyFloat_Unpack4(const char *p, int le) function PyFloat_Unpack8 (line 510) | static inline double PyFloat_Unpack8(const char *p, int le) function PyObject (line 517) | static inline PyObject* PyCode_GetCode(PyCodeObject *code) function PyObject (line 526) | static inline PyObject* PyCode_GetVarnames(PyCodeObject *code) function PyObject (line 534) | static inline PyObject* PyCode_GetFreevars(PyCodeObject *code) function PyObject (line 542) | static inline PyObject* PyCode_GetCellvars(PyCodeObject *code) function PyObject (line 561) | static inline PyObject* PyImport_AddModuleRef(const char *name) function PyWeakref_GetRef (line 570) | static inline int PyWeakref_GetRef(PyObject *ref, PyObject **pobj) function Py_ssize_t (line 601) | static inline Py_ssize_t PyVectorcall_NARGS(size_t n) function PyObject (line 610) | static inline PyObject* function PyObject_GetOptionalAttr (line 686) | static inline int function PyObject_GetOptionalAttrString (line 708) | static inline int function PyMapping_GetOptionalItem (line 732) | static inline int function PyMapping_GetOptionalItemString (line 746) | static inline int function PyMapping_HasKeyWithError (line 769) | static inline int function PyMapping_HasKeyStringWithError (line 778) | static inline int function PyObject_HasAttrWithError (line 792) | static inline int function PyObject_HasAttrStringWithError (line 801) | static inline int function PyDict_GetItemRef (line 815) | static inline int function PyDict_GetItemStringRef (line 835) | static inline int function PyModule_Add (line 857) | static inline int function Py_IsFinalizing (line 872) | static inline int Py_IsFinalizing(void) function PyDict_ContainsString (line 886) | static inline int PyDict_ContainsString(PyObject *op, const char *key) function PyLong_AsInt (line 901) | static inline int PyLong_AsInt(PyObject *obj) function PyObject_VisitManagedDict (line 923) | static inline int function PyObject_ClearManagedDict (line 934) | static inline void function PyThreadState (line 948) | static inline PyThreadState* function PyUnicode_EqualToUTF8AndSize (line 958) | static inline int function PyUnicode_EqualToUTF8 (line 1021) | static inline int function PyList_Extend (line 1031) | static inline int function PyList_Clear (line 1037) | static inline int function PyDict_Pop (line 1046) | static inline int function PyDict_PopString (line 1088) | static inline int type Py_ssize_t (line 1108) | typedef Py_ssize_t Py_hash_t; function Py_hash_t (line 1114) | static inline Py_hash_t Py_HashPointer(const void *ptr) type _PyTime_t (line 1128) | typedef _PyTime_t PyTime_t; function PyTime_AsSecondsDouble (line 1132) | static inline double PyTime_AsSecondsDouble(PyTime_t t) function PyTime_Monotonic (line 1135) | static inline int PyTime_Monotonic(PyTime_t *result) function PyTime_Time (line 1138) | static inline int PyTime_Time(PyTime_t *result) function PyTime_PerfCounter (line 1141) | static inline int PyTime_PerfCounter(PyTime_t *result) function PyObject (line 1240) | static inline PyObject* Py_GetConstant(unsigned int constant_id) function PyObject (line 1293) | static inline PyObject* Py_GetConstantBorrowed(unsigned int constant_id) function PyObject (line 1304) | static inline PyObject * function PyDict_SetDefaultRef (line 1316) | static inline int type PyUnicodeWriter (line 1362) | typedef struct PyUnicodeWriter PyUnicodeWriter; function PyUnicodeWriter_Discard (line 1364) | static inline void PyUnicodeWriter_Discard(PyUnicodeWriter *writer) function PyUnicodeWriter (line 1370) | static inline PyUnicodeWriter* PyUnicodeWriter_Create(Py_ssize_t length) function PyObject (line 1395) | static inline PyObject* PyUnicodeWriter_Finish(PyUnicodeWriter *writer) function PyUnicodeWriter_WriteChar (line 1403) | static inline int function PyUnicodeWriter_WriteStr (line 1415) | static inline int function PyUnicodeWriter_WriteRepr (line 1428) | static inline int function PyUnicodeWriter_WriteUTF8 (line 1441) | static inline int function PyUnicodeWriter_WriteASCII (line 1459) | static inline int function PyUnicodeWriter_WriteWideChar (line 1471) | static inline int function PyUnicodeWriter_WriteSubstring (line 1489) | static inline int function PyUnicodeWriter_Format (line 1511) | static inline int function PyLong_GetSign (line 1530) | static inline int PyLong_GetSign(PyObject *obj, int *sign) function PyLong_IsPositive (line 1544) | static inline int PyLong_IsPositive(PyObject *obj) function PyLong_IsNegative (line 1553) | static inline int PyLong_IsNegative(PyObject *obj) function PyLong_IsZero (line 1562) | static inline int PyLong_IsZero(PyObject *obj) function PyUnicode_Equal (line 1575) | static inline int PyUnicode_Equal(PyObject *str1, PyObject *str2) function PyObject (line 1605) | static inline PyObject* PyBytes_Join(PyObject *sep, PyObject *iterable) function Py_hash_t (line 1613) | static inline Py_hash_t Py_HashBuffer(const void *ptr, Py_ssize_t len) function PyIter_NextItem (line 1634) | static inline int PyIter_NextItem(PyObject *iter, PyObject **item) function PyObject (line 1665) | static inline PyObject* PyLong_FromInt32(int32_t value) function PyObject (line 1671) | static inline PyObject* PyLong_FromInt64(int64_t value) function PyObject (line 1677) | static inline PyObject* PyLong_FromUInt32(uint32_t value) function PyObject (line 1683) | static inline PyObject* PyLong_FromUInt64(uint64_t value) function PyLong_AsInt32 (line 1689) | static inline int PyLong_AsInt32(PyObject *obj, int32_t *pvalue) function PyLong_AsInt64 (line 1700) | static inline int PyLong_AsInt64(PyObject *obj, int64_t *pvalue) function PyLong_AsUInt32 (line 1711) | static inline int PyLong_AsUInt32(PyObject *obj, uint32_t *pvalue) function PyLong_AsUInt64 (line 1729) | static inline int PyLong_AsUInt64(PyObject *obj, uint64_t *pvalue) function _PyLong_SetSignAndDigitCount (line 1745) | static inline void function Py_ssize_t (line 1757) | static inline Py_ssize_t function digit (line 1767) | static inline digit* type PyLongLayout (line 1777) | typedef struct PyLongLayout { type PyLongExport (line 1784) | typedef struct PyLongExport { type PyLongWriter (line 1792) | typedef struct PyLongWriter PyLongWriter; function PyLongLayout (line 1794) | static inline const PyLongLayout* function PyLong_Export (line 1807) | static inline int function PyLong_FreeExport (line 1850) | static inline void function PyLongWriter (line 1861) | static inline PyLongWriter* function PyLongWriter_Discard (line 1880) | static inline void function PyObject (line 1889) | static inline PyObject* function FILE (line 1954) | static inline FILE* Py_fopen(PyObject *path, const char *mode) function Py_fclose (line 1987) | static inline int Py_fclose(FILE *file) function PyObject (line 1995) | static inline PyObject* function PyConfig_GetInt (line 2187) | static inline int function PyUnstable_Object_IsUniquelyReferenced (line 2217) | static inline int PyUnstable_Object_IsUniquelyReferenced(PyObject *obj) function PyObject (line 2234) | static inline PyObject* function PyObject (line 2251) | static inline PyObject* function PySys_GetOptionalAttrString (line 2266) | static inline int function PySys_GetOptionalAttr (line 2280) | static inline int FILE: src/watchdog/events.py class FileSystemEvent (line 105) | class FileSystemEvent: class FileSystemMovedEvent (line 126) | class FileSystemMovedEvent(FileSystemEvent): class FileDeletedEvent (line 135) | class FileDeletedEvent(FileSystemEvent): class FileModifiedEvent (line 141) | class FileModifiedEvent(FileSystemEvent): class FileCreatedEvent (line 147) | class FileCreatedEvent(FileSystemEvent): class FileMovedEvent (line 153) | class FileMovedEvent(FileSystemMovedEvent): class FileClosedEvent (line 157) | class FileClosedEvent(FileSystemEvent): class FileClosedNoWriteEvent (line 163) | class FileClosedNoWriteEvent(FileSystemEvent): class FileOpenedEvent (line 169) | class FileOpenedEvent(FileSystemEvent): class DirDeletedEvent (line 178) | class DirDeletedEvent(FileSystemEvent): class DirModifiedEvent (line 185) | class DirModifiedEvent(FileSystemEvent): class DirCreatedEvent (line 192) | class DirCreatedEvent(FileSystemEvent): class DirMovedEvent (line 199) | class DirMovedEvent(FileSystemMovedEvent): class FileSystemEventHandler (line 205) | class FileSystemEventHandler: method dispatch (line 208) | def dispatch(self, event: FileSystemEvent) -> None: method on_any_event (line 219) | def on_any_event(self, event: FileSystemEvent) -> None: method on_moved (line 228) | def on_moved(self, event: DirMovedEvent | FileMovedEvent) -> None: method on_created (line 237) | def on_created(self, event: DirCreatedEvent | FileCreatedEvent) -> None: method on_deleted (line 246) | def on_deleted(self, event: DirDeletedEvent | FileDeletedEvent) -> None: method on_modified (line 255) | def on_modified(self, event: DirModifiedEvent | FileModifiedEvent) -> ... method on_closed (line 264) | def on_closed(self, event: FileClosedEvent) -> None: method on_closed_no_write (line 273) | def on_closed_no_write(self, event: FileClosedNoWriteEvent) -> None: method on_opened (line 282) | def on_opened(self, event: FileOpenedEvent) -> None: class PatternMatchingEventHandler (line 292) | class PatternMatchingEventHandler(FileSystemEventHandler): method __init__ (line 298) | def __init__( method patterns (line 314) | def patterns(self) -> list[str] | None: method ignore_patterns (line 321) | def ignore_patterns(self) -> list[str] | None: method ignore_directories (line 328) | def ignore_directories(self) -> bool: method case_sensitive (line 335) | def case_sensitive(self) -> bool: method dispatch (line 342) | def dispatch(self, event: FileSystemEvent) -> None: class RegexMatchingEventHandler (line 368) | class RegexMatchingEventHandler(FileSystemEventHandler): method __init__ (line 373) | def __init__( method regexes (line 399) | def regexes(self) -> list[re.Pattern[str]]: method ignore_regexes (line 406) | def ignore_regexes(self) -> list[re.Pattern[str]]: method ignore_directories (line 413) | def ignore_directories(self) -> bool: method case_sensitive (line 420) | def case_sensitive(self) -> bool: method dispatch (line 427) | def dispatch(self, event: FileSystemEvent) -> None: class LoggingEventHandler (line 451) | class LoggingEventHandler(FileSystemEventHandler): method __init__ (line 454) | def __init__(self, *, logger: logging.Logger | None = None) -> None: method on_moved (line 458) | def on_moved(self, event: DirMovedEvent | FileMovedEvent) -> None: method on_created (line 464) | def on_created(self, event: DirCreatedEvent | FileCreatedEvent) -> None: method on_deleted (line 470) | def on_deleted(self, event: DirDeletedEvent | FileDeletedEvent) -> None: method on_modified (line 476) | def on_modified(self, event: DirModifiedEvent | FileModifiedEvent) -> ... method on_closed (line 482) | def on_closed(self, event: FileClosedEvent) -> None: method on_closed_no_write (line 487) | def on_closed_no_write(self, event: FileClosedNoWriteEvent) -> None: method on_opened (line 492) | def on_opened(self, event: FileOpenedEvent) -> None: function generate_sub_moved_events (line 498) | def generate_sub_moved_events( function generate_sub_created_events (line 525) | def generate_sub_created_events(src_dir_path: bytes | str) -> Generator[... FILE: src/watchdog/observers/__init__.py class ObserverType (line 49) | class ObserverType(Protocol): method __call__ (line 50) | def __call__(self, *, timeout: float = ...) -> BaseObserver: ... function _get_observer_cls (line 53) | def _get_observer_cls() -> ObserverType: FILE: src/watchdog/observers/api.py class EventQueue (line 24) | class EventQueue(SkipRepeatsQueue): class ObservedWatch (line 33) | class ObservedWatch: method __init__ (line 44) | def __init__( method path (line 58) | def path(self) -> str: method is_recursive (line 63) | def is_recursive(self) -> bool: method follow_symlink (line 68) | def follow_symlink(self) -> bool: method event_filter (line 73) | def event_filter(self) -> frozenset[type[FileSystemEvent]] | None: method key (line 78) | def key(self) -> tuple[str, bool, frozenset[type[FileSystemEvent]] | N... method __eq__ (line 81) | def __eq__(self, watch: object) -> bool: method __ne__ (line 86) | def __ne__(self, watch: object) -> bool: method __hash__ (line 91) | def __hash__(self) -> int: method __repr__ (line 94) | def __repr__(self) -> str: class EventEmitter (line 104) | class EventEmitter(BaseThread): method __init__ (line 126) | def __init__( method timeout (line 141) | def timeout(self) -> float: method watch (line 146) | def watch(self) -> ObservedWatch: method queue_event (line 150) | def queue_event(self, event: FileSystemEvent) -> None: method queue_events (line 162) | def queue_events(self, timeout: float) -> None: method run (line 173) | def run(self) -> None: class EventDispatcher (line 178) | class EventDispatcher(BaseThread): method __init__ (line 192) | def __init__(self, *, timeout: float = DEFAULT_OBSERVER_TIMEOUT) -> None: method timeout (line 198) | def timeout(self) -> float: method stop (line 202) | def stop(self) -> None: method event_queue (line 208) | def event_queue(self) -> EventQueue: method dispatch_events (line 215) | def dispatch_events(self, event_queue: EventQueue) -> None: method run (line 227) | def run(self) -> None: class BaseObserver (line 235) | class BaseObserver(EventDispatcher): method __init__ (line 238) | def __init__(self, emitter_class: type[EventEmitter], *, timeout: floa... method _add_emitter (line 247) | def _add_emitter(self, emitter: EventEmitter) -> None: method _remove_emitter (line 251) | def _remove_emitter(self, emitter: EventEmitter) -> None: method _clear_emitters (line 258) | def _clear_emitters(self) -> None: method _add_handler_for_watch (line 267) | def _add_handler_for_watch(self, event_handler: FileSystemEventHandler... method _remove_handlers_for_watch (line 270) | def _remove_handlers_for_watch(self, watch: ObservedWatch) -> None: method emitters (line 274) | def emitters(self) -> set[EventEmitter]: method start (line 278) | def start(self) -> None: method __enter__ (line 287) | def __enter__(self) -> Self: method __exit__ (line 293) | def __exit__( method schedule (line 304) | def schedule( method add_handler_for_watch (line 352) | def add_handler_for_watch(self, event_handler: FileSystemEventHandler,... method remove_handler_for_watch (line 370) | def remove_handler_for_watch(self, event_handler: FileSystemEventHandl... method unschedule (line 388) | def unschedule(self, watch: ObservedWatch) -> None: method unschedule_all (line 403) | def unschedule_all(self) -> None: method on_thread_stop (line 410) | def on_thread_stop(self) -> None: method dispatch_events (line 413) | def dispatch_events(self, event_queue: EventQueue) -> None: FILE: src/watchdog/observers/fsevents.py class FSEventsEmitter (line 44) | class FSEventsEmitter(EventEmitter): method __init__ (line 67) | def __init__( method on_thread_stop (line 84) | def on_thread_stop(self) -> None: method queue_event (line 88) | def queue_event(self, event: FileSystemEvent) -> None: method _is_recursive_event (line 97) | def _is_recursive_event(self, event: FileSystemEvent) -> bool: method _queue_created_event (line 111) | def _queue_created_event(self, event: FileSystemEvent, src_path: bytes... method _queue_deleted_event (line 116) | def _queue_deleted_event(self, event: FileSystemEvent, src_path: bytes... method _queue_modified_event (line 121) | def _queue_modified_event(self, event: FileSystemEvent, src_path: byte... method _queue_renamed_event (line 125) | def _queue_renamed_event( method _is_historic_created_event (line 139) | def _is_historic_created_event(self, event: _fsevents.NativeEvent) -> ... method _is_meta_mod (line 157) | def _is_meta_mod(event: _fsevents.NativeEvent) -> bool: method queue_events (line 161) | def queue_events(self, timeout: float, events: list[_fsevents.NativeEv... method events_callback (line 290) | def events_callback(self, paths: list[bytes], inodes: list[int], flags... method run (line 305) | def run(self) -> None: method on_thread_start (line 314) | def on_thread_start(self) -> None: method _encode_path (line 319) | def _encode_path(self, path: bytes | str) -> bytes | str: class FSEventsObserver (line 324) | class FSEventsObserver(BaseObserver): method __init__ (line 325) | def __init__(self, *, timeout: float = DEFAULT_OBSERVER_TIMEOUT) -> None: method schedule (line 328) | def schedule( FILE: src/watchdog/observers/fsevents2.py class FSEventsQueue (line 72) | class FSEventsQueue(Thread): method __init__ (line 75) | def __init__(self, path: bytes | str) -> None: method run (line 99) | def run(self) -> None: method stop (line 117) | def stop(self) -> None: method _callback (line 121) | def _callback( method read_events (line 136) | def read_events(self) -> list[NativeEvent] | None: class NativeEvent (line 143) | class NativeEvent: method __init__ (line 144) | def __init__(self, path: bytes, flags: int, event_id: int) -> None: method _event_type (line 160) | def _event_type(self) -> str: method __repr__ (line 175) | def __repr__(self) -> str: class FSEventsEmitter (line 182) | class FSEventsEmitter(EventEmitter): method __init__ (line 185) | def __init__( method on_thread_stop (line 197) | def on_thread_stop(self) -> None: method queue_events (line 200) | def queue_events(self, timeout: float) -> None: class FSEventsObserver2 (line 251) | class FSEventsObserver2(BaseObserver): method __init__ (line 252) | def __init__(self, *, timeout: float = DEFAULT_OBSERVER_TIMEOUT) -> None: FILE: src/watchdog/observers/inotify.py class FileSystemEventCtor (line 117) | class FileSystemEventCtor(Protocol): method __call__ (line 118) | def __call__(self, src_path: bytes | str, dest_path: bytes | str = "")... class InotifyWatchGroup (line 122) | class InotifyWatchGroup(WatchCallback): method __post_init__ (line 162) | def __post_init__(self) -> None: method build_event_mask (line 168) | def build_event_mask(event_mask: Mask, *, follow_symlink: bool) -> Mask: method is_active (line 176) | def is_active(self) -> bool: method _source_for_move (line 180) | def _source_for_move(self, cookie: int) -> bytes | None: method _callback (line 192) | def _callback(self) -> WatchCallback: method read_event (line 195) | def read_event(self) -> GroupedInotifyEvent | None: method on_watch_deleted (line 202) | def on_watch_deleted(self, wd: WatchDescriptor) -> None: method on_event (line 210) | def on_event(self, event: InotifyEvent) -> None: method _recursive_simulate (line 257) | def _recursive_simulate(self, src_path: bytes) -> list[InotifyEvent]: method deactivate (line 276) | def deactivate(self) -> None: method _activate (line 283) | def _activate(self) -> None: method _build_event_source_path (line 296) | def _build_event_source_path(self, event: InotifyEvent) -> bytes | None: method _move_watches (line 303) | def _move_watches(self, move_src_path: bytes, move_dst_path: bytes) ->... method _add_all_callbacks (line 319) | def _add_all_callbacks(self, path: bytes) -> None: method _add_callback (line 336) | def _add_callback(self, path: bytes) -> None: method _remove_callbacks (line 348) | def _remove_callbacks(self, wds: list[WatchDescriptor]) -> None: method _remove_watch_internally (line 358) | def _remove_watch_internally(self, wd: WatchDescriptor) -> None: function _select_event_type (line 368) | def _select_event_type( class InotifyEmitter (line 378) | class InotifyEmitter(EventEmitter): method __init__ (line 397) | def __init__( method on_thread_start (line 411) | def on_thread_start(self) -> None: method on_thread_stop (line 422) | def on_thread_stop(self) -> None: method queue_events (line 427) | def queue_events(self, timeout: float, *, full_events: bool = False) -... method build_and_queue_event (line 442) | def build_and_queue_event(self, event: GroupedInotifyEvent, *, full_ev... method _decode_path (line 498) | def _decode_path(self, path: bytes) -> bytes | str: method get_event_mask_from_filter (line 502) | def get_event_mask_from_filter(self) -> Mask: class InotifyFullEmitter (line 540) | class InotifyFullEmitter(InotifyEmitter): method build_and_queue_event (line 545) | def build_and_queue_event(self, event: GroupedInotifyEvent, *, full_ev... class InotifyObserver (line 549) | class InotifyObserver(BaseObserver): method __init__ (line 554) | def __init__(self, *, timeout: float = DEFAULT_OBSERVER_TIMEOUT, gener... FILE: src/watchdog/observers/inotify_c.py class InotifyConstants (line 47) | class InotifyConstants: function _get_mask_string (line 128) | def _get_mask_string(mask: int) -> str: class InotifyEventStruct (line 132) | class InotifyEventStruct(ctypes.Structure): class WatchCallback (line 162) | class WatchCallback(Protocol): method on_event (line 163) | def on_event(self, event: InotifyEvent) -> None: method on_watch_deleted (line 167) | def on_watch_deleted(self, wd: WatchDescriptor) -> None: class Watch (line 174) | class Watch: method is_used (line 194) | def is_used(self) -> bool: method short_str (line 197) | def short_str(self) -> str: class InotifyFD (line 208) | class InotifyFD(BaseThread): method __init__ (line 221) | def __init__(self) -> None: method _create_inotify_fd (line 247) | def _create_inotify_fd(cls) -> int: method get_instance (line 254) | def get_instance(cls) -> InotifyFD: method add_callback (line 263) | def add_callback(self, path: bytes, mask: Mask, callback: WatchCallbac... method remove_callbacks (line 281) | def remove_callbacks(self, callbacks: list[tuple[WatchDescriptor, Call... method on_thread_stop (line 301) | def on_thread_stop(self) -> None: method run (line 304) | def run(self) -> None: method close (line 311) | def close(self) -> None: method handle_event (line 334) | def handle_event(self, event: InotifyEvent) -> None: method read_events (line 354) | def read_events(self, *, event_buffer_size: int = DEFAULT_EVENT_BUFFER... method _check_inotify_fd (line 368) | def _check_inotify_fd(self) -> bool: method _read_event_buffer (line 376) | def _read_event_buffer(self, event_buffer_size: int) -> bytes: method _close_resources (line 410) | def _close_resources(self) -> None: method _add_callback (line 415) | def _add_callback(self, path: bytes, mask: Mask, callback: WatchCallba... method _get_or_create_watch (line 438) | def _get_or_create_watch(self, path: bytes, mask: Mask) -> Watch: method _remove_callback (line 457) | def _remove_callback(self, wd: WatchDescriptor, id_: CallbackId) -> None: method _remove_watch (line 485) | def _remove_watch(self, wd: WatchDescriptor) -> Sequence[WatchCallback]: method _raise_error (line 492) | def _raise_error(*, ignore_invalid_argument: bool = False) -> None: method _parse_event_buffer (line 509) | def _parse_event_buffer(event_buffer: bytes) -> Generator[tuple[WatchD... class InotifyEvent (line 538) | class InotifyEvent: method is_modify (line 553) | def is_modify(self) -> bool: method is_close_write (line 557) | def is_close_write(self) -> bool: method is_close_nowrite (line 561) | def is_close_nowrite(self) -> bool: method is_open (line 565) | def is_open(self) -> bool: method is_access (line 569) | def is_access(self) -> bool: method is_delete (line 573) | def is_delete(self) -> bool: method is_delete_self (line 577) | def is_delete_self(self) -> bool: method is_create (line 581) | def is_create(self) -> bool: method is_moved_from (line 585) | def is_moved_from(self) -> bool: method is_moved_to (line 589) | def is_moved_to(self) -> bool: method is_move (line 593) | def is_move(self) -> bool: method is_move_self (line 597) | def is_move_self(self) -> bool: method is_attrib (line 601) | def is_attrib(self) -> bool: method is_ignored (line 605) | def is_ignored(self) -> bool: method is_directory (line 609) | def is_directory(self) -> bool: method __repr__ (line 615) | def __repr__(self) -> str: FILE: src/watchdog/observers/inotify_move_event_grouper.py class PathedInotifyEvent (line 24) | class PathedInotifyEvent(NamedTuple): class InotifyMoveEventGrouper (line 34) | class InotifyMoveEventGrouper: method __init__ (line 42) | def __init__(self) -> None: method read_event (line 45) | def read_event(self) -> GroupedInotifyEvent | None: method put_event (line 52) | def put_event(self, event: PathedInotifyEvent) -> None: method _group_moved_to_event (line 65) | def _group_moved_to_event(self, to_event: PathedInotifyEvent) -> Group... method get_queued_moved_from_event (line 80) | def get_queued_moved_from_event(self, cookie: int) -> PathedInotifyEve... method close (line 89) | def close(self) -> None: FILE: src/watchdog/observers/kqueue.py function absolute_path (line 115) | def absolute_path(path: bytes | str) -> bytes | str: function is_deleted (line 122) | def is_deleted(kev: select.kevent) -> bool: function is_modified (line 127) | def is_modified(kev: select.kevent) -> bool: function is_attrib_modified (line 133) | def is_attrib_modified(kev: select.kevent) -> bool: function is_renamed (line 138) | def is_renamed(kev: select.kevent) -> bool: class KeventDescriptorSet (line 143) | class KeventDescriptorSet: method __init__ (line 146) | def __init__(self) -> None: method kevents (line 154) | def kevents(self) -> list[select.kevent]: method paths (line 160) | def paths(self) -> list[bytes | str]: method get_for_fd (line 165) | def get_for_fd(self, fd: int) -> KeventDescriptor: method get (line 179) | def get(self, path: bytes | str) -> KeventDescriptor: method __contains__ (line 189) | def __contains__(self, path: bytes | str) -> bool: method add (line 200) | def add(self, path: bytes | str, *, is_directory: bool) -> None: method remove (line 217) | def remove(self, path: bytes | str) -> None: method clear (line 230) | def clear(self) -> None: method _get (line 241) | def _get(self, path: bytes | str) -> KeventDescriptor: method _has_path (line 245) | def _has_path(self, path: bytes | str) -> bool: method _add_descriptor (line 251) | def _add_descriptor(self, descriptor: KeventDescriptor) -> None: method _remove_descriptor (line 262) | def _remove_descriptor(self, descriptor: KeventDescriptor) -> None: class KeventDescriptor (line 275) | class KeventDescriptor: method __init__ (line 291) | def __init__(self, path: bytes | str, *, is_directory: bool) -> None: method fd (line 303) | def fd(self) -> int: method path (line 308) | def path(self) -> bytes | str: method kevent (line 313) | def kevent(self) -> select.kevent: method is_directory (line 318) | def is_directory(self) -> bool: method close (line 326) | def close(self) -> None: method key (line 332) | def key(self) -> tuple[bytes | str, bool]: method __eq__ (line 335) | def __eq__(self, descriptor: object) -> bool: method __ne__ (line 340) | def __ne__(self, descriptor: object) -> bool: method __hash__ (line 345) | def __hash__(self) -> int: method __repr__ (line 348) | def __repr__(self) -> str: class KqueueEmitter (line 352) | class KqueueEmitter(EventEmitter): method __init__ (line 400) | def __init__( method _register_kevent (line 424) | def _register_kevent(self, path: bytes | str, *, is_directory: bool) -... method _unregister_kevent (line 459) | def _unregister_kevent(self, path: bytes | str) -> None: method queue_event (line 468) | def queue_event(self, event: FileSystemEvent) -> None: method _gen_kqueue_events (line 488) | def _gen_kqueue_events( method _parent_dir_modified (line 534) | def _parent_dir_modified(self, src_path: bytes | str) -> DirModifiedEv... method _gen_renamed_events (line 538) | def _gen_renamed_events( method _read_events (line 593) | def _read_events(self, timeout: float) -> list[select.kevent]: method queue_events (line 604) | def queue_events(self, timeout: float) -> None: method on_thread_stop (line 642) | def on_thread_stop(self) -> None: class KqueueObserver (line 649) | class KqueueObserver(BaseObserver): method __init__ (line 654) | def __init__(self, *, timeout: float = DEFAULT_OBSERVER_TIMEOUT) -> None: FILE: src/watchdog/observers/polling.py class PollingEmitter (line 46) | class PollingEmitter(EventEmitter): method __init__ (line 51) | def __init__( method on_thread_start (line 71) | def on_thread_start(self) -> None: method queue_events (line 74) | def queue_events(self, timeout: float) -> None: class PollingObserver (line 117) | class PollingObserver(BaseObserver): method __init__ (line 122) | def __init__(self, *, timeout: float = DEFAULT_OBSERVER_TIMEOUT) -> None: class PollingObserverVFS (line 126) | class PollingObserverVFS(BaseObserver): method __init__ (line 129) | def __init__( FILE: src/watchdog/observers/read_directory_changes.py class WindowsApiEmitter (line 28) | class WindowsApiEmitter(EventEmitter): method __init__ (line 33) | def __init__( method on_thread_start (line 45) | def on_thread_start(self) -> None: method start (line 53) | def start(self) -> None: method on_thread_stop (line 60) | def on_thread_stop(self) -> None: method queue_events (line 67) | def queue_events(self, timeout: float) -> None: class WindowsApiObserver (line 106) | class WindowsApiObserver(BaseObserver): method __init__ (line 111) | def __init__(self, *, timeout: float = DEFAULT_OBSERVER_TIMEOUT) -> None: FILE: src/watchdog/observers/winapi.py class OVERLAPPED (line 76) | class OVERLAPPED(ctypes.Structure): function _errcheck_bool (line 87) | def _errcheck_bool(value: Any | None, func: Any, args: Any) -> Any: function _errcheck_handle (line 93) | def _errcheck_handle(value: Any | None, func: Any, args: Any) -> Any: function _errcheck_dword (line 101) | def _errcheck_dword(value: Any | None, func: Any, args: Any) -> Any: class FileNotifyInformation (line 215) | class FileNotifyInformation(ctypes.Structure): function _parse_event_buffer (line 265) | def _parse_event_buffer(read_buffer: bytes) -> list[tuple[int, str]]: function _is_observed_path_deleted (line 281) | def _is_observed_path_deleted(handle: HANDLE, path: str) -> bool: function _generate_observed_path_deleted_event (line 290) | def _generate_observed_path_deleted_event() -> bytes: function _get_directory_handle (line 300) | def _get_directory_handle(path: str) -> HANDLE: function _cancel_handle_io (line 313) | def _cancel_handle_io(handle: HANDLE) -> None: function _close_directory_handle (line 323) | def _close_directory_handle(handle: HANDLE) -> None: class WinAPINativeEvent (line 329) | class WinAPINativeEvent: method is_added (line 334) | def is_added(self) -> bool: method is_removed (line 338) | def is_removed(self) -> bool: method is_modified (line 342) | def is_modified(self) -> bool: method is_renamed_old (line 346) | def is_renamed_old(self) -> bool: method is_renamed_new (line 350) | def is_renamed_new(self) -> bool: method is_removed_self (line 354) | def is_removed_self(self) -> bool: class DirectoryChangeReader (line 358) | class DirectoryChangeReader: method __init__ (line 365) | def __init__(self, path: str, *, recursive: bool) -> None: method _run_inner (line 374) | def _run_inner(self, handle: HANDLE, event_buffer: ctypes.Array[ctypes... method _run (line 407) | def _run(self) -> None: method start (line 427) | def start(self) -> None: method stop (line 440) | def stop(self) -> None: method get_events (line 460) | def get_events(self, timeout: float) -> list[WinAPINativeEvent]: FILE: src/watchdog/tricks/__init__.py class Trick (line 46) | class Trick(PatternMatchingEventHandler): method __repr__ (line 49) | def __repr__(self) -> str: method generate_yaml (line 53) | def generate_yaml(cls) -> str: class LoggerTrick (line 68) | class LoggerTrick(Trick): method on_any_event (line 72) | def on_any_event(self, event: FileSystemEvent) -> None: class ShellCommandTrick (line 76) | class ShellCommandTrick(Trick): method __init__ (line 79) | def __init__( method on_any_event (line 101) | def on_any_event(self, event: FileSystemEvent) -> None: method is_process_running (line 143) | def is_process_running(self) -> bool: class AutoRestartTrick (line 147) | class AutoRestartTrick(Trick): method __init__ (line 157) | def __init__( method start (line 197) | def start(self) -> None: method stop (line 206) | def stop(self) -> None: method _start_process (line 224) | def _start_process(self) -> None: method _stop_process (line 234) | def _stop_process(self) -> None: method on_any_event (line 267) | def on_any_event(self, event: FileSystemEvent) -> None: method _restart_process (line 277) | def _restart_process(self) -> None: function kill_process (line 287) | def kill_process(pid: int, stop_signal: int) -> None: function kill_process (line 292) | def kill_process(pid: int, stop_signal: int) -> None: FILE: src/watchdog/utils/__init__.py class UnsupportedLibcError (line 27) | class UnsupportedLibcError(Exception): class WatchdogShutdownError (line 31) | class WatchdogShutdownError(Exception): class BaseThread (line 35) | class BaseThread(threading.Thread): method __init__ (line 38) | def __init__(self) -> None: method stopped_event (line 47) | def stopped_event(self) -> threading.Event: method should_keep_running (line 50) | def should_keep_running(self) -> bool: method on_thread_stop (line 54) | def on_thread_stop(self) -> None: method stop (line 61) | def stop(self) -> None: method on_thread_start (line 66) | def on_thread_start(self) -> None: method start (line 74) | def start(self) -> None: function load_module (line 79) | def load_module(module_name: str) -> ModuleType: function load_class (line 89) | def load_class(dotted_path: str) -> type[Trick]: FILE: src/watchdog/utils/backwards_compat.py function _translate (line 24) | def _translate(pat, STAR, QUESTION_MARK): function translate (line 96) | def translate(pat, *, recursive=False, include_hidden=False, seps=None): FILE: src/watchdog/utils/bricks.py class SkipRepeatsQueue (line 29) | class SkipRepeatsQueue(queue.Queue): method __init__ (line 71) | def __init__(self, maxsize: int = 0) -> None: method put (line 75) | def put(self, item: Any, block: bool = True, timeout: float | None = N... method _put (line 82) | def _put(self, item: Any) -> None: method _get (line 86) | def _get(self) -> Any: FILE: src/watchdog/utils/delayed_queue.py class DelayedQueue (line 16) | class DelayedQueue(Generic[T]): method __init__ (line 17) | def __init__(self, delay: float) -> None: method put (line 24) | def put(self, element: T, *, delay: bool = False) -> None: method close (line 31) | def close(self) -> None: method get (line 39) | def get(self) -> T | None: method find (line 68) | def find(self, predicate: Callable[[T], bool]) -> T | None: method remove (line 76) | def remove(self, predicate: Callable[[T], bool]) -> T | None: method _index_and_item (line 87) | def _index_and_item(self, predicate: Callable[[T], bool]) -> tuple[int... FILE: src/watchdog/utils/dirsnapshot.py class DirectorySnapshotDiff (line 45) | class DirectorySnapshotDiff: method __init__ (line 70) | def __init__( method __str__ (line 136) | def __str__(self) -> str: method __repr__ (line 139) | def __repr__(self) -> str: method __len__ (line 156) | def __len__(self) -> int: method files_created (line 160) | def files_created(self) -> list[bytes | str]: method files_deleted (line 165) | def files_deleted(self) -> list[bytes | str]: method files_modified (line 170) | def files_modified(self) -> list[bytes | str]: method files_moved (line 175) | def files_moved(self) -> list[tuple[bytes | str, bytes | str]]: method dirs_modified (line 184) | def dirs_modified(self) -> list[bytes | str]: method dirs_moved (line 189) | def dirs_moved(self) -> list[tuple[bytes | str, bytes | str]]: method dirs_deleted (line 198) | def dirs_deleted(self) -> list[bytes | str]: method dirs_created (line 203) | def dirs_created(self) -> list[bytes | str]: class ContextManager (line 207) | class ContextManager: method __init__ (line 240) | def __init__( method __enter__ (line 255) | def __enter__(self) -> None: method __exit__ (line 258) | def __exit__(self, *args: object) -> None: method get_snapshot (line 266) | def get_snapshot(self) -> DirectorySnapshot: class DirectorySnapshot (line 275) | class DirectorySnapshot: method __init__ (line 297) | def __init__( method walk (line 321) | def walk(self, root: str) -> Iterator[tuple[str, os.stat_result]]: method paths (line 348) | def paths(self) -> set[bytes | str]: method path (line 352) | def path(self, uid: tuple[int, int]) -> bytes | str | None: method inode (line 356) | def inode(self, path: bytes | str) -> tuple[int, int]: method isdir (line 361) | def isdir(self, path: bytes | str) -> bool: method mtime (line 364) | def mtime(self, path: bytes | str) -> float: method size (line 367) | def size(self, path: bytes | str) -> int: method stat_info (line 370) | def stat_info(self, path: bytes | str) -> os.stat_result: method __sub__ (line 384) | def __sub__(self, previous_dirsnap: DirectorySnapshot) -> DirectorySna... method __str__ (line 393) | def __str__(self) -> str: method __repr__ (line 396) | def __repr__(self) -> str: class EmptyDirectorySnapshot (line 400) | class EmptyDirectorySnapshot(DirectorySnapshot): method __init__ (line 406) | def __init__(self) -> None: method path (line 410) | def path(_: Any) -> None: method paths (line 420) | def paths(self) -> set: FILE: src/watchdog/utils/echo.py function format_arg_value (line 36) | def format_arg_value(arg_val: tuple[str, tuple[Any, ...]]) -> str: function echo (line 42) | def echo(fn: Callable, write: Callable[[str], int | None] = sys.stdout.w... FILE: src/watchdog/utils/event_debouncer.py class EventDebouncer (line 17) | class EventDebouncer(BaseThread): method __init__ (line 27) | def __init__( method handle_event (line 39) | def handle_event(self, event: FileSystemEvent) -> None: method stop (line 44) | def stop(self) -> None: method run (line 49) | def run(self) -> None: FILE: src/watchdog/utils/patterns.py function _get_sep (line 27) | def _get_sep(path: PurePath) -> str: function _full_match (line 39) | def _full_match(path: PurePath, pattern: str) -> bool: function _match_path (line 54) | def _match_path( function filter_paths (line 80) | def filter_paths( function match_any_paths (line 113) | def match_any_paths( FILE: src/watchdog/utils/platform.py function get_platform_name (line 13) | def get_platform_name() -> str: function is_linux (line 39) | def is_linux() -> bool: function is_bsd (line 43) | def is_bsd() -> bool: function is_darwin (line 47) | def is_darwin() -> bool: function is_windows (line 51) | def is_windows() -> bool: FILE: src/watchdog/utils/process_watcher.py class ProcessWatcher (line 15) | class ProcessWatcher(BaseThread): method __init__ (line 16) | def __init__(self, popen_obj: subprocess.Popen, process_termination_ca... method run (line 21) | def run(self) -> None: FILE: src/watchdog/watchmedo.py class HelpFormatter (line 38) | class HelpFormatter(RawDescriptionHelpFormatter): method __init__ (line 48) | def __init__(self, *args: Any, max_help_position: int = 6, **kwargs: A... method __repr__ (line 53) | def __repr__(self) -> str: method _split_lines (line 56) | def _split_lines(self, text: str, width: int) -> list[str]: function argument (line 78) | def argument(*name_or_flags: str, **kwargs: Any) -> Argument: function command (line 85) | def command( function path_split (line 116) | def path_split(pathname_spec: str, *, separator: str = os.pathsep) -> li... function add_to_sys_path (line 127) | def add_to_sys_path(pathnames: list[str], *, index: int = 0) -> None: function load_config (line 140) | def load_config(tricks_file_pathname: str) -> dict: function parse_patterns (line 154) | def parse_patterns( function observe_with (line 167) | def observe_with( function schedule_tricks (line 196) | def schedule_tricks(observer: BaseObserver, tricks: list[dict], pathname... function tricks_from (line 263) | def tricks_from(args: Namespace) -> None: function tricks_generate_yaml (line 359) | def tricks_generate_yaml(args: Namespace) -> None: function log (line 457) | def log(args: Namespace) -> None: function shell_command (line 585) | def shell_command(args: Namespace) -> None: function auto_restart (line 707) | def auto_restart(args: Namespace) -> None: class LogLevelError (line 768) | class LogLevelError(Exception): function _get_log_level_from_args (line 772) | def _get_log_level_from_args(args: Namespace) -> str: function main (line 783) | def main() -> int: FILE: src/watchdog_fsevents.c type StreamCallbackInfo (line 47) | typedef struct { type NativeEventObject (line 79) | typedef struct { function PyObject (line 87) | PyObject* NativeEventRepr(PyObject* instance) { function PyObject (line 99) | PyObject* NativeEventTypeFlags(PyObject* instance, void* closure) function PyObject (line 106) | PyObject* NativeEventTypePath(PyObject* instance, void* closure) function PyObject (line 113) | PyObject* NativeEventTypeInode(PyObject* instance, void* closure) function PyObject (line 121) | PyObject* NativeEventTypeID(PyObject* instance, void* closure) function PyObject (line 128) | PyObject* NativeEventTypeIsCoalesced(PyObject* instance, void* closure) function NativeEventInit (line 183) | static int NativeEventInit(NativeEventObject *self, PyObject *args, PyOb... function NativeEventDealloc (line 198) | static void NativeEventDealloc(NativeEventObject *self) { function watchdog_pycapsule_destructor (line 266) | static void watchdog_pycapsule_destructor(PyObject *ptr) function PyObject (line 284) | PyObject * CFString_AsPyUnicode(CFStringRef cf_string_ref) function PyObject (line 322) | PyObject * CFNumberRef_AsPyLong(CFNumberRef cf_number) function watchdog_FSEventStreamCallback (line 358) | static void function CFStringRef (line 467) | CFStringRef PyString_AsUTF8EncodedCFStringRef(PyObject *py_string) function CFMutableArrayRef (line 505) | static CFMutableArrayRef function FSEventStreamRef (line 563) | static FSEventStreamRef function PyObject (line 615) | static PyObject * function PyObject (line 719) | static PyObject * function PyObject (line 772) | static PyObject * function PyObject (line 800) | static PyObject * function PyObject (line 836) | static PyObject * function watchdog_module_init (line 897) | static void function watchdog_module_add_attributes (line 912) | static void type PyModuleDef (line 935) | struct PyModuleDef function PyMODINIT_FUNC (line 950) | PyMODINIT_FUNC FILE: tests/conftest.py function p (line 15) | def p(tmpdir, *args): function _no_thread_leaks (line 24) | def _no_thread_leaks(): function _no_warnings (line 36) | def _no_warnings(recwarn): function helper_fixture (line 58) | def helper_fixture(tmpdir): function p_fixture (line 64) | def p_fixture(helper: Helper) -> P: function event_queue_fixture (line 69) | def event_queue_fixture(helper: Helper) -> TestEventQueue: function start_watching_fixture (line 74) | def start_watching_fixture(helper: Helper) -> StartWatching: function expect_event_fixture (line 79) | def expect_event_fixture(helper: Helper) -> ExpectEvent: function events_checker_fixture (line 84) | def events_checker_fixture(helper: Helper) -> EventsChecker: FILE: tests/isolated/eventlet_observer_stops.py function run_observer (line 15) | def run_observer(): function on_alarm (line 23) | def on_alarm(signum, frame): FILE: tests/shell.py function cd (line 18) | def cd(path): function pwd (line 22) | def pwd(): function mkfile (line 26) | def mkfile(path): function mkdir (line 32) | def mkdir(path, *, parents=False): function symlink (line 45) | def symlink(source, destination, *, target_is_directory: bool = False): function rm (line 49) | def rm(path, *, recursive=False): function touch (line 60) | def touch(path, times=None): function truncate (line 69) | def truncate(path): function mv (line 75) | def mv(src_path, dest_path): function mkdtemp (line 85) | def mkdtemp(): function ls (line 89) | def ls(path="."): function msize (line 93) | def msize(path): function mount_tmpfs (line 104) | def mount_tmpfs(path): function unmount (line 108) | def unmount(path): FILE: tests/test_0_watchmedo.py function test_load_config_valid (line 25) | def test_load_config_valid(tmpdir): function test_load_config_invalid (line 41) | def test_load_config_invalid(tmpdir): function make_dummy_script (line 58) | def make_dummy_script(tmpdir, n=10): function test_kill_auto_restart (line 65) | def test_kill_auto_restart(tmpdir, capfd): function test_shell_command_wait_for_completion (line 78) | def test_shell_command_wait_for_completion(tmpdir, capfd): function test_shell_command_subprocess_termination_nowait (line 90) | def test_shell_command_subprocess_termination_nowait(tmpdir): function test_shell_command_subprocess_termination_not_happening_on_file_opened_event (line 101) | def test_shell_command_subprocess_termination_not_happening_on_file_open... function test_auto_restart_not_happening_on_file_opened_event (line 115) | def test_auto_restart_not_happening_on_file_opened_event(tmpdir, capfd): function test_auto_restart_on_file_change (line 131) | def test_auto_restart_on_file_change(tmpdir, capfd): function test_auto_restart_on_file_change_debounce (line 154) | def test_auto_restart_on_file_change_debounce(tmpdir, capfd): function test_auto_restart_subprocess_termination (line 190) | def test_auto_restart_subprocess_termination(tmpdir, capfd, restart_on_c... function test_auto_restart_arg_parsing_basic (line 209) | def test_auto_restart_arg_parsing_basic(): function test_auto_restart_arg_parsing (line 218) | def test_auto_restart_arg_parsing(): function test_auto_restart_events_echoed (line 237) | def test_auto_restart_events_echoed(tmpdir, caplog): function test_logger_events_echoed (line 254) | def test_logger_events_echoed(caplog): function test_shell_command_arg_parsing (line 269) | def test_shell_command_arg_parsing(): function test_valid_verbosity (line 288) | def test_valid_verbosity(cmdline, verbosity): function test_invalid_verbosity (line 313) | def test_invalid_verbosity(cmdline, verbosity_cmdline_args): function test_tricks_from_file (line 321) | def test_tricks_from_file(command, tmp_path): FILE: tests/test_delayed_queue.py function test_delayed_get (line 11) | def test_delayed_get(): function test_nondelayed_get (line 22) | def test_nondelayed_get(): FILE: tests/test_echo.py function test_format_arg_value (line 14) | def test_format_arg_value(value: tuple[str, tuple[Any, ...]], expected: ... FILE: tests/test_emitter.py function test_create (line 42) | def test_create( function test_closed (line 63) | def test_closed( function test_create_wrong_encoding (line 87) | def test_create_wrong_encoding( function test_delete (line 103) | def test_delete( function test_modify (line 120) | def test_modify( function test_chmod (line 141) | def test_chmod(p: P, event_queue: TestEventQueue, start_watching: StartW... function test_move_simple (line 156) | def test_move_simple( function test_case_change (line 177) | def test_case_change( function test_move_to (line 201) | def test_move_to( function test_move_to_full (line 218) | def test_move_to_full( function test_move_from (line 234) | def test_move_from( function test_move_from_full (line 251) | def test_move_from_full( function test_separate_consecutive_moves (line 267) | def test_separate_consecutive_moves( function test_delete_self (line 289) | def test_delete_self( function test_fast_subdirectory_creation_deletion (line 307) | def test_fast_subdirectory_creation_deletion( function test_passing_unicode_should_give_unicode (line 328) | def test_passing_unicode_should_give_unicode(p: P, event_queue: TestEven... function test_passing_bytes_should_give_bytes (line 339) | def test_passing_bytes_should_give_bytes(p: P, event_queue: TestEventQue... function test_recursive_on (line 346) | def test_recursive_on( function check_empty_queue (line 377) | def check_empty_queue(event_queue: TestEventQueue) -> None: function test_recursive_off (line 387) | def test_recursive_off( function test_renaming_top_level_directory (line 436) | def test_renaming_top_level_directory( function test_move_nested_subdirectories (line 480) | def test_move_nested_subdirectories( function test_move_nested_subdirectories_on_windows (line 513) | def test_move_nested_subdirectories_on_windows( function test_file_lifecyle (line 544) | def test_file_lifecyle( FILE: tests/test_events.py function test_file_deleted_event (line 33) | def test_file_deleted_event(): function test_file_delete_event_is_directory (line 41) | def test_file_delete_event_is_directory(): function test_file_modified_event (line 48) | def test_file_modified_event(): function test_file_modified_event_is_directory (line 56) | def test_file_modified_event_is_directory(): function test_file_created_event (line 63) | def test_file_created_event(): function test_file_moved_event (line 71) | def test_file_moved_event(): function test_file_closed_event (line 80) | def test_file_closed_event(): function test_file_closed_no_write_event (line 88) | def test_file_closed_no_write_event(): function test_file_opened_event (line 96) | def test_file_opened_event(): function test_dir_deleted_event (line 104) | def test_dir_deleted_event(): function test_dir_modified_event (line 112) | def test_dir_modified_event(): function test_dir_created_event (line 120) | def test_dir_created_event(): function test_file_system_event_handler_dispatch (line 128) | def test_file_system_event_handler_dispatch(): function test_event_comparison (line 206) | def test_event_comparison(): function test_generate_sub_moved_events_repeated_dirname (line 227) | def test_generate_sub_moved_events_repeated_dirname(): FILE: tests/test_fsevents.py function observer (line 40) | def observer(): function test_coalesced_event_check (line 72) | def test_coalesced_event_check(event, expectation): function test_add_watch_twice (line 76) | def test_add_watch_twice(observer: BaseObserver, p: P) -> None: function test_watcher_deletion_while_receiving_events_1 (line 97) | def test_watcher_deletion_while_receiving_events_1( function test_watcher_deletion_while_receiving_events_2 (line 131) | def test_watcher_deletion_while_receiving_events_2( function test_remove_watch_twice (line 186) | def test_remove_watch_twice(start_watching: StartWatching) -> None: function test_unschedule_removed_folder (line 210) | def test_unschedule_removed_folder(observer: BaseObserver, p: P) -> None: function test_converting_cfstring_to_pyunicode (line 232) | def test_converting_cfstring_to_pyunicode(p: P, start_watching: StartWat... function test_recursive_check_accepts_relative_paths (line 248) | def test_recursive_check_accepts_relative_paths(p: P) -> None: function test_watchdog_recursive (line 296) | def test_watchdog_recursive(p: P) -> None: FILE: tests/test_inotify_c.py function struct_inotify (line 31) | def struct_inotify(wd, mask, cookie=0, length=0, name=b"") -> bytes: function test_late_double_deletion (line 44) | def test_late_double_deletion(helper: Helper, p: P, event_queue: TestEve... function test_raise_error (line 166) | def test_raise_error(error, pattern): function test_non_ascii_path (line 172) | def test_non_ascii_path(p: P, event_queue: TestEventQueue, start_watchin... function test_watch_file (line 186) | def test_watch_file(p: P, event_queue: TestEventQueue, start_watching: S... function test_event_equality (line 196) | def test_event_equality(p: P) -> None: function test_select_fd (line 207) | def test_select_fd(p: P, event_queue: TestEventQueue, start_watching: St... FILE: tests/test_inotify_watch_group.py function wait_for_move_event (line 22) | def wait_for_move_event(read_event: Callable[[], GroupedInotifyEvent]) -... function create_inotify_watch (line 29) | def create_inotify_watch(path: bytes, *, recursive: bool = False, follow... function test_move_from (line 40) | def test_move_from(p): function test_move_to (line 52) | def test_move_to(p): function test_move_internal (line 64) | def test_move_internal(p): function test_move_internal_symlink_followed (line 78) | def test_move_internal_symlink_followed(p): function test_move_internal_batch (line 93) | def test_move_internal_batch(p): function test_delete_watched_directory (line 117) | def test_delete_watched_directory(p): function test_delete_watched_directory_symlink_followed (line 130) | def test_delete_watched_directory_symlink_followed(p): function test_delete_watched_directory_symlink_followed_recursive (line 149) | def test_delete_watched_directory_symlink_followed_recursive(p): function test_unmount_watched_directory_filesystem (line 170) | def test_unmount_watched_directory_filesystem(p): function assert_event (line 187) | def assert_event(inotify: InotifyWatchGroup, expected_path: str, expecte... function assert_touch_events (line 193) | def assert_touch_events(inotify: InotifyWatchGroup, expected_path: str): function test_watch_groups_are_independent (line 200) | def test_watch_groups_are_independent(p): FILE: tests/test_isolated.py function test_observer_stops_in_eventlet (line 13) | def test_observer_stops_in_eventlet(): function test_eventlet_skip_repeat_queue (line 21) | def test_eventlet_skip_repeat_queue(): FILE: tests/test_logging_event_handler.py class _TestableEventHandler (line 30) | class _TestableEventHandler(LoggingEventHandler): method on_any_event (line 31) | def on_any_event(self, event): method on_modified (line 34) | def on_modified(self, event): method on_deleted (line 38) | def on_deleted(self, event): method on_moved (line 42) | def on_moved(self, event): method on_created (line 46) | def on_created(self, event): method on_closed (line 50) | def on_closed(self, event): method on_closed_no_write (line 54) | def on_closed_no_write(self, event): method on_opened (line 58) | def on_opened(self, event): function test_logging_event_handler_dispatch (line 63) | def test_logging_event_handler_dispatch(): FILE: tests/test_observer.py function observer (line 18) | def observer() -> Iterator[BaseObserver]: function observer2 (line 27) | def observer2(): function test_schedule_should_start_emitter_if_running (line 35) | def test_schedule_should_start_emitter_if_running(observer): function test_schedule_should_not_start_emitter_if_not_running (line 42) | def test_schedule_should_not_start_emitter_if_not_running(observer): function test_start_should_start_emitter (line 48) | def test_start_should_start_emitter(observer): function test_stop_should_stop_emitter (line 55) | def test_stop_should_stop_emitter(observer): function test_unschedule_self (line 66) | def test_unschedule_self(observer): function test_schedule_after_unschedule_all (line 88) | def test_schedule_after_unschedule_all(observer): function test_2_observers_on_the_same_path (line 100) | def test_2_observers_on_the_same_path(observer, observer2): function test_start_failure_should_not_prevent_further_try (line 110) | def test_start_failure_should_not_prevent_further_try(observer): function test_schedule_failure_should_not_prevent_future_schedules (line 135) | def test_schedule_failure_should_not_prevent_future_schedules(observer): function test_context_manager_starts_observer (line 152) | def test_context_manager_starts_observer(): function test_context_manager_with_already_started_observer (line 168) | def test_context_manager_with_already_started_observer(): function test_context_manager_stops_on_exit (line 186) | def test_context_manager_stops_on_exit(): function test_context_manager_handles_exceptions (line 202) | def test_context_manager_handles_exceptions(): function test_context_manager_with_scheduled_watches (line 222) | def test_context_manager_with_scheduled_watches(): FILE: tests/test_observers_api.py function test_observer_constructor (line 12) | def test_observer_constructor(): function test_observer__eq__ (line 16) | def test_observer__eq__(): function test_observer__ne__ (line 28) | def test_observer__ne__(): function test_observer__repr__ (line 39) | def test_observer__repr__(): function test_event_emitter (line 51) | def test_event_emitter(): function test_event_dispatcher (line 58) | def test_event_dispatcher(): function test_observer_basic (line 74) | def test_observer_basic(): FILE: tests/test_observers_polling.py function p (line 28) | def p(*args): function event_queue (line 37) | def event_queue(): function emitter (line 42) | def emitter(event_queue): function test___init__ (line 50) | def test___init__(event_queue, emitter): function test_delete_watched_dir (line 132) | def test_delete_watched_dir(event_queue, emitter): FILE: tests/test_observers_winapi.py function p (line 29) | def p(*args): function event_queue (line 38) | def event_queue(): function emitter (line 43) | def emitter(event_queue): function test___init__ (line 50) | def test___init__(event_queue, emitter): function test_root_deleted (line 89) | def test_root_deleted(event_queue, emitter): FILE: tests/test_pattern_matching_event_handler.py function assert_patterns (line 26) | def assert_patterns(event): function test_dispatch (line 37) | def test_dispatch(): function test_handler (line 136) | def test_handler(): function test_ignore_directories (line 149) | def test_ignore_directories(): function test_ignore_patterns (line 160) | def test_ignore_patterns(): function test_patterns (line 169) | def test_patterns(): FILE: tests/test_patterns.py function test_match_path (line 17) | def test_match_path(raw_path, included_patterns, excluded_patterns, case... function test_filter_paths (line 38) | def test_filter_paths(included_patterns, excluded_patterns, case_sensiti... function test_match_any_paths (line 66) | def test_match_any_paths(included_patterns, excluded_patterns, case_sens... FILE: tests/test_regex_matching_event_handler.py function test_dispatch (line 27) | def test_dispatch(): function test_handler (line 134) | def test_handler(): function test_ignore_directories (line 147) | def test_ignore_directories(): function test_ignore_regexes (line 158) | def test_ignore_regexes(): function test_regexes (line 167) | def test_regexes(): function test_str_regexes (line 176) | def test_str_regexes(): function test_logging_event_handler_dispatch (line 185) | def test_logging_event_handler_dispatch(): FILE: tests/test_skip_repeats_queue.py function test_basic_queue (line 7) | def test_basic_queue(): function test_allow_nonconsecutive (line 24) | def test_allow_nonconsecutive(): function test_put_with_watchdog_events (line 40) | def test_put_with_watchdog_events(): function test_prevent_consecutive (line 52) | def test_prevent_consecutive(): function test_consecutives_allowed_across_empties (line 67) | def test_consecutives_allowed_across_empties(): FILE: tests/test_snapshot_diff.py function wait (line 15) | def wait(): function test_pickle (line 27) | def test_pickle(p): function test_move_to (line 34) | def test_move_to(p): function test_move_to_with_context_manager (line 44) | def test_move_to_with_context_manager(p): function test_move_from (line 58) | def test_move_from(p): function test_move_internal (line 68) | def test_move_internal(p): function test_move_replace (line 80) | def test_move_replace(p): function test_dir_modify_on_create (line 93) | def test_dir_modify_on_create(p): function test_dir_modify_on_move (line 101) | def test_dir_modify_on_move(p): function test_detect_modify_for_moved_files (line 112) | def test_detect_modify_for_moved_files(p): function test_replace_dir_with_file (line 123) | def test_replace_dir_with_file(p): function test_permission_error (line 140) | def test_permission_error(p): function test_ignore_device (line 168) | def test_ignore_device(p): function test_empty_snapshot (line 205) | def test_empty_snapshot(p): FILE: tests/utils.py class P (line 27) | class P(Protocol): method __call__ (line 28) | def __call__(self, *args: str) -> str: ... class StartWatching (line 31) | class StartWatching(Protocol): method __call__ (line 32) | def __call__( class ExpectEvent (line 41) | class ExpectEvent(Protocol): method __call__ (line 42) | def __call__(self, expected_event: FileSystemEvent, *, timeout: float ... class Helper (line 49) | class Helper: method joinpath (line 54) | def joinpath(self, *args: str) -> str: method start_watching (line 57) | def start_watching( method events_checker (line 84) | def events_checker(self, *, verbose: bool = False) -> _EventsChecker: method expect_event (line 94) | def expect_event(self, expected_event: FileSystemEvent, timeout: float... method close (line 101) | def close(self) -> None: function run_isolated_test (line 114) | def run_isolated_test(path): class EventsChecker (line 140) | class EventsChecker(Protocol): method __call__ (line 141) | def __call__(self) -> _EventsChecker: ... class _ExpectedEvent (line 145) | class _ExpectedEvent: class _EventsChecker (line 155) | class _EventsChecker: method __init__ (line 159) | def __init__(self, helper: Helper, *, verbose: bool = False): method allow_extra_events (line 175) | def allow_extra_events(self) -> None: method _debug (line 179) | def _debug(self, *args: Any) -> None: method _make_path (line 183) | def _make_path(self, path: str | None) -> str | None: method add (line 194) | def add(self, expected_class: type, src_path: str | None = None, dest_... method _match_event (line 206) | def _match_event(self, event: FileSystemEvent, expected_event: _Expect... method _check_events_without_order (line 218) | def _check_events_without_order( self, found_events: list[FileSystemEv... method _check_events_with_order (line 248) | def _check_events_with_order( self, found_events: list[FileSystemEvent... method check_events (line 255) | def check_events(self, timeout: float = 2) -> None: method __enter__ (line 281) | def __enter__(self) -> _EventsChecker: # noqa: PYI034 method __exit__ (line 286) | def __exit__(self, exc_type, exc_value, traceback) -> None: