(self, repository, path=None)
| 241 | |
| 242 | class CacheConfig: |
| 243 | def __init__(self, repository, path=None): |
| 244 | self.repository = repository |
| 245 | self.path = cache_dir(repository, path) |
| 246 | logger.debug("Using %s as cache", self.path) |
| 247 | self.config_path = self.path / "config" |
| 248 | |
| 249 | def __enter__(self): |
| 250 | self.open() |