cable_club.watcher module

Poll for changes in the files within a directory.

cable_club.watcher.load_rules(directory: Path, files_hash: dict[Path, float]) list[list[str]][source]

Load up rules from a directory.

cable_club.watcher.rules_changed(directory: Path, old_files_hash: dict[Path, float]) tuple[bool, dict[Path, float]][source]

Check if directory’s contents have changed.