Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_keyblob
Method · 0.95
export
Method · 0.95
Calls
3
get_keyfile_data
Method · 0.95
dash_open
Function · 0.85
write
Method · 0.45
Tested by
no test coverage detected