MCPcopy Index your code
hub / github.com/borgbackup/borg / known

Method known

src/borg/cache.py:109–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 shutil.rmtree(path)
108
109 def known(self):
110 return all(f.exists() for f in (self.key_type_file, self.location_file, self.manifest_ts_file))
111
112 def key_matches(self, key):
113 if not self.known():

Callers 4

key_matchesMethod · 0.95
assert_key_typeMethod · 0.95
_assert_secureMethod · 0.95
assert_access_unknownMethod · 0.95

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected