Convenience wrapper for backward compatibility.
(src_path: Path, previous_modtime: float, cache_file: Path)
| 15 | |
| 16 | |
| 17 | def has_changed(src_path: Path, previous_modtime: float, cache_file: Path) -> bool: |
| 18 | """Convenience wrapper for backward compatibility.""" |
| 19 | cache = FingerprintCache(cache_file) |
| 20 | return cache.has_changed(src_path, previous_modtime) |
| 21 | |
| 22 | |
| 23 | def demo_basic_usage() -> None: |
no test coverage detected