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

Function assert_secure

src/borg/cache.py:233–235  ·  view source on GitHub ↗
(repository, manifest)

Source from the content-addressed store, hash-verified

231
232
233def assert_secure(repository, manifest):
234 sm = SecurityManager(repository)
235 sm.assert_secure(manifest, manifest.key)
236
237
238def cache_dir(repository, path=None):

Callers 1

wrapperFunction · 0.85

Calls 2

assert_secureMethod · 0.95
SecurityManagerClass · 0.85

Tested by

no test coverage detected