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

Function cache_dir

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

Source from the content-addressed store, hash-verified

236
237
238def cache_dir(repository, path=None):
239 return Path(path) if path else Path(get_cache_dir()) / repository.id_str
240
241
242class CacheConfig:

Callers 3

__init__Method · 0.85
destroyMethod · 0.85
__init__Method · 0.85

Calls 1

get_cache_dirFunction · 0.85

Tested by

no test coverage detected