Convenience wrapper for backward compatibility.
(src_path: Path, previous_modtime: float, cache_file: Path)
| 29 | |
| 30 | |
| 31 | def has_changed(src_path: Path, previous_modtime: float, cache_file: Path) -> bool: |
| 32 | """Convenience wrapper for backward compatibility.""" |
| 33 | cache = FingerprintCache(cache_file) |
| 34 | return cache.has_changed(src_path, previous_modtime) |
| 35 | |
| 36 | |
| 37 | class TestFingerprintCache(TestCase): |
no test coverage detected