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

Method get_many

src/borg/repository.py:484–486  ·  view source on GitHub ↗
(self, ids, read_data=True, is_preloaded=False, raise_missing=True)

Source from the content-addressed store, hash-verified

482 return None
483
484 def get_many(self, ids, read_data=True, is_preloaded=False, raise_missing=True):
485 for id_ in ids:
486 yield self.get(id_, read_data=read_data, raise_missing=raise_missing)
487
488 def put(self, id, data, wait=True):
489 """put a repo object

Callers 13

_iter_archive_itemsMethod · 0.45
fetch_manyMethod · 0.45
archive_get_itemsFunction · 0.45
robust_iteratorMethod · 0.45
getMethod · 0.45
iter_archive_itemsMethod · 0.45
process_chunksFunction · 0.45
test_simpleMethod · 0.45
test_metaMethod · 0.45
test_mixedMethod · 0.45
test_backoffMethod · 0.45
test_enospcMethod · 0.45

Calls 1

getMethod · 0.95

Tested by 6

test_simpleMethod · 0.36
test_metaMethod · 0.36
test_mixedMethod · 0.36
test_backoffMethod · 0.36
test_enospcMethod · 0.36
test_cache_corruptionMethod · 0.36