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

Method store_keyfile

src/borg/crypto/keymanager.py:87–89  ·  view source on GitHub ↗
(self, target)

Source from the content-addressed store, hash-verified

85 return data
86
87 def store_keyfile(self, target):
88 with dash_open(target, "w") as fd:
89 fd.write(self.get_keyfile_data())
90
91 def export(self, path):
92 if path is None:

Callers 2

store_keyblobMethod · 0.95
exportMethod · 0.95

Calls 3

get_keyfile_dataMethod · 0.95
dash_openFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected