file

class platypush.message.event.file.FileSystemCreateEvent(path: str, *, is_directory: bool, **kwargs)[source]

Event triggered when a monitored file or directory is created.

class platypush.message.event.file.FileSystemDeleteEvent(path: str, *, is_directory: bool, **kwargs)[source]

Event triggered when a monitored file or directory is deleted.

class platypush.message.event.file.FileSystemEvent(path: str, *, is_directory: bool, **kwargs)[source]

Base class for file system events - namely, file/directory creation, deletion and modification.

__init__(path: str, *, is_directory: bool, **kwargs)[source]
Params:

target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.file.FileSystemModifyEvent(path: str, *, is_directory: bool, **kwargs)[source]

Event triggered when a monitored file or directory is modified.