Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
238
def
cache_dir(repository, path=None):
239
return
Path(path)
if
path
else
Path(get_cache_dir()) / repository.id_str
240
241
242
class
CacheConfig:
Callers
3
__init__
Method · 0.85
destroy
Method · 0.85
__init__
Method · 0.85
Calls
1
get_cache_dir
Function · 0.85
Tested by
no test coverage detected