MCPcopy
hub / github.com/borgbackup/borg / __init__

Method __init__

src/borg/cache.py:243–247  ·  view source on GitHub ↗
(self, repository, path=None)

Source from the content-addressed store, hash-verified

241
242class 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()

Callers 1

__init__Method · 0.45

Calls 2

cache_dirFunction · 0.85
debugMethod · 0.80

Tested by

no test coverage detected