cowbird.monitoring.fsmonitor
Module Contents
Classes
Interface being called when something changes on the filesystem. |
- class cowbird.monitoring.fsmonitor.FSMonitor[source]
Bases:
abc.ABC
Interface being called when something changes on the filesystem.
- abstract static get_instance() FSMonitor | None [source]
Must return an instance of the class implementing FSMonitor.
- abstract on_created(path: str) None [source]
Called when a new path is found.
- Parameters:
path – Absolute path of a new file/directory