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

Method id_hash

src/borg/repoobj.py:34–35  ·  view source on GitHub ↗
(self, data: bytes)

Source from the content-addressed store, hash-verified

32 self.compressor = LZ4_COMPRESSOR
33
34 def id_hash(self, data: bytes) -> bytes:
35 return self.key.id_hash(data)
36
37 def format(
38 self,

Callers 14

test_spoof_manifestFunction · 0.95
test_spoof_archiveFunction · 0.95
_build_files_cacheMethod · 0.45
loadMethod · 0.45
writeMethod · 0.45
write_chunkMethod · 0.45
archive_put_itemsFunction · 0.45
saveMethod · 0.45
set_metaMethod · 0.45
process_fileMethod · 0.45
add_callbackMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_spoof_manifestFunction · 0.76
test_spoof_archiveFunction · 0.76