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

Method __init__

src/borg/repository.py:75–78  ·  view source on GitHub ↗
(self, id, repo)

Source from the content-addressed store, hash-verified

73 exit_mcode = 17
74
75 def __init__(self, id, repo):
76 if isinstance(id, bytes):
77 id = bin_to_hex(id)
78 super().__init__(id, repo)
79
80 class ParentPathDoesNotExist(Error):
81 """The parent path of the repository directory [{}] does not exist."""

Callers

nothing calls this directly

Calls 2

bin_to_hexFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected