Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/aws/aws-cli
/ create_checksum_for_algorithm
Function
create_checksum_for_algorithm
awscli/s3transfer/checksums.py:49–52 ·
view source on GitHub ↗
(algorithm)
Source
from the content-addressed store, hash-verified
47
48
49
def
create_checksum_for_algorithm(algorithm):
50
if
checksum_cls := _CHECKSUM_CLS.get(algorithm):
51
return
checksum_cls()
52
return
None
53
54
55
class
FullObjectChecksumCombiner:
Callers
8
test_checksum_combiner_reuses_botocore_checksum
Method · 0.90
_register_parts
Function · 0.90
test_known_algorithm
Method · 0.90
test_unknown_algorithm
Method · 0.90
test_checksum_mismatch_raises
Method · 0.90
test_combined_bytes_are_cached
Method · 0.90
test_chunked_update_matches_single_update
Method · 0.90
_main
Method · 0.90
Calls
no outgoing calls
Tested by
7
test_checksum_combiner_reuses_botocore_checksum
Method · 0.72
_register_parts
Function · 0.72
test_known_algorithm
Method · 0.72
test_unknown_algorithm
Method · 0.72
test_checksum_mismatch_raises
Method · 0.72
test_combined_bytes_are_cached
Method · 0.72
test_chunked_update_matches_single_update
Method · 0.72