(self, path)
| 384 | raise NotImplementedError("subclasses must implement check_availability().") |
| 385 | |
| 386 | def notify_file_changed(self, path): |
| 387 | results = file_changed.send(sender=self, file_path=path) |
| 388 | logger.debug("%s notified as changed. Signal results: %s.", path, results) |
| 389 | if not any(res[1] for res in results): |
| 390 | trigger_reload(path) |
| 391 | |
| 392 | # These are primarily used for testing. |
| 393 | @property |
no test coverage detected