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

Method __init__

src/borg/legacyrepository.py:173–176  ·  view source on GitHub ↗
(self, id, repo)

Source from the content-addressed store, hash-verified

171 exit_mcode = 17
172
173 def __init__(self, id, repo):
174 if isinstance(id, bytes):
175 id = bin_to_hex(id)
176 super().__init__(id, repo)
177
178 class ParentPathDoesNotExist(Error):
179 """The parent path of the repo 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