Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_format_parse_roundtrip
Function · 0.95
test_spoof_manifest
Function · 0.95
test_spoof_archive
Function · 0.95
_build_files_cache
Method · 0.45
load
Method · 0.45
write
Method · 0.45
write_chunk
Method · 0.45
archive_put_items
Function · 0.45
save
Method · 0.45
set_meta
Method · 0.45
process_file
Method · 0.45
add_callback
Method · 0.45
Calls
no outgoing calls
Tested by
3
test_format_parse_roundtrip
Function · 0.76
test_spoof_manifest
Function · 0.76
test_spoof_archive
Function · 0.76