Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/borgbackup/borg
/ H
Function
H
src/borg/testsuite/hashindex_test.py:9–11 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
7
8
9
def
H(x):
10
# Make a 32-byte value that depends on x
11
return
bytes(
"%-0.32d"
% x,
"ascii"
)
12
13
14
def
H2(x):
Callers
15
H2
Function · 0.70
add_keys
Function · 0.70
repo_dump
Function · 0.70
test_basic_operations
Function · 0.70
test_multiple_transactions
Function · 0.70
test_read_data
Function · 0.70
test_consistency
Function · 0.70
test_consistency2
Function · 0.70
test_overwrite_in_same_transaction
Function · 0.70
test_single_kind_transactions
Function · 0.70
test_list
Function · 0.70
test_max_data_size
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected