Watches a path in place of the file system's own watcher: None
leaves the path to it.
Functions#
register#
register(path, info, *, recursive, on_ready) -> Stream[WatchEvent, PlatformError] | None| Parameter | Type | Description |
|---|---|---|
path | str | |
info | FileInfo | |
recursive | bool | |
on_ready | Callable[[], None] | None |
Returns Stream[WatchEvent, PlatformError] | None
def register(
self,
path: str,
info: FileInfo,
*,
recursive: bool,
on_ready: Callable[[], None] | None,
) -> Stream[WatchEvent, PlatformError] | None: ...