cowbird.monitoring.fsmonitor
Classes
Interface being called when something changes on the filesystem. |
Module Contents
- class cowbird.monitoring.fsmonitor.FSMonitor[source]
Bases:
abc.ABC
Interface being called when something changes on the filesystem.
- static get_instance() FSMonitor | None [source]
- Abstractmethod:
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