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

Method export

src/borg/crypto/keymanager.py:91–95  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

89 fd.write(self.get_keyfile_data())
90
91 def export(self, path):
92 if path is None:
93 path = "-"
94
95 self.store_keyfile(path)
96
97 def export_qr(self, path):
98 if path is None:

Callers 1

do_key_exportMethod · 0.95

Calls 1

store_keyfileMethod · 0.95

Tested by

no test coverage detected