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

Method load_key

src/borg/repository.py:241–244  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

239 self.store.store("keys/repokey", keydata)
240
241 def load_key(self):
242 keydata = self.store.load("keys/repokey")
243 # note: if we return an empty string, it means there is no repo key
244 return keydata
245
246 def destroy(self):
247 """Destroy the repository"""

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected