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

Method get

src/borg/remote.py:985–987  ·  view source on GitHub ↗
(self, id, read_data=True, raise_missing=True)

Source from the content-addressed store, hash-verified

983 """actual remoting is done via self.call in the @api decorator"""
984
985 def get(self, id, read_data=True, raise_missing=True):
986 for resp in self.get_many([id], read_data=read_data, raise_missing=raise_missing):
987 return resp
988
989 def get_many(self, ids, read_data=True, is_preloaded=False, raise_missing=True):
990 yield from self.call_many(

Callers 7

do_rpcFunction · 0.45
tracebackMethod · 0.45
borg_cmdMethod · 0.45
ssh_cmdMethod · 0.45
call_manyMethod · 0.45
get_manyMethod · 0.45
transformFunction · 0.45

Calls 1

get_manyMethod · 0.95

Tested by

no test coverage detected