Remove documentation from cache.
(self, repo_url: str)
| 97 | self.save_cache_index() |
| 98 | |
| 99 | def remove_from_cache(self, repo_url: str): |
| 100 | """Remove documentation from cache.""" |
| 101 | repo_hash = self.get_repo_hash(repo_url) |
| 102 | if repo_hash in self.cache_index: |
| 103 | del self.cache_index[repo_hash] |
| 104 | self.save_cache_index() |
| 105 | |
| 106 | def cleanup_expired_cache(self): |
| 107 | """Remove expired cache entries.""" |
no test coverage detected