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

Method hexdigest

src/borg/crypto/file_integrity.py:91–97  ·  view source on GitHub ↗

Return current digest bytes as a hex string. Note: This can be called multiple times.

(self)

Source from the content-addressed store, hash-verified

89 return data
90
91 def hexdigest(self):
92 """
93 Return current digest bytes as a hex string.
94
95 Note: This can be called multiple times.
96 """
97 return self.hash.hexdigest()
98
99 def update(self, data: bytes):
100 self.hash.update(data)

Callers 11

files_cache_nameFunction · 0.80
_create_lockMethod · 0.80
hash_partMethod · 0.80
sha256_truncatedFunction · 0.80
__init__Method · 0.80
calculate_fingerprintMethod · 0.80
hash_itemMethod · 0.80
test_xxh64Function · 0.80
test_stable_dictFunction · 0.80
test_transfer_rechunkFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_xxh64Function · 0.64
test_stable_dictFunction · 0.64
test_transfer_rechunkFunction · 0.64