Get cache file path for checksum. Args: checksum: Cache checksum Returns: Path to cache file
(self, checksum: str)
| 75 | return hashlib.sha256(key_str.encode()).hexdigest() |
| 76 | |
| 77 | def _get_cache_path(self, checksum: str) -> Path: |
| 78 | """Get cache file path for checksum. |
| 79 | |
| 80 | Args: |
| 81 | checksum: Cache checksum |
| 82 | |
| 83 | Returns: |
| 84 | Path to cache file |
| 85 | """ |
| 86 | return self.cache_dir / f"{checksum}.json" |
| 87 | |
| 88 | def get( |
| 89 | self, |