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

Function join_base_dir

src/borg/helpers/fs.py:71–74  ·  view source on GitHub ↗
(*paths, **kw)

Source from the content-addressed store, hash-verified

69
70
71def join_base_dir(*paths, **kw):
72 legacy = kw.get("legacy", True)
73 base_dir = get_base_dir(legacy=legacy)
74 return None if base_dir is None else str(Path(base_dir).joinpath(*paths))
75
76
77def get_keys_dir(*, legacy=False, create=True):

Callers 4

get_data_dirFunction · 0.85
get_runtime_dirFunction · 0.85
get_cache_dirFunction · 0.85
get_config_dirFunction · 0.85

Calls 2

get_base_dirFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected