(self, source: str)
| 213 | return index |
| 214 | |
| 215 | def evict(self, source: str) -> None: |
| 216 | cache_key = self._compute_cache_key(source) |
| 217 | self._tasks.pop(cache_key, None) |
| 218 | self._revalidate_after.pop(cache_key, None) |
| 219 | |
| 220 | async def _evict_if_stale(self, source: str, cache_key: str) -> None: |
| 221 | """Evict a cached local-path entry whose on-disk cache no longer matches its files. |