Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/scancode-toolkit
/ md5
Function
md5
src/commoncode/hash.py:259–260 ·
view source on GitHub ↗
(location)
Source
from the content-addressed store, hash-verified
257
258
259
def
md5(location):
260
return
checksum(location, name=
"md5"
, base64=False)
261
262
263
def
sha1(location):
Callers
5
test_md5_checksum_on_text
Method · 0.90
test_md5_checksum_on_text2
Method · 0.90
test_md5_checksum_on_dos_text
Method · 0.90
test_md5_checksum
Method · 0.90
_get_resource_cache_location
Method · 0.85
Calls
1
checksum
Function · 0.85
Tested by
4
test_md5_checksum_on_text
Method · 0.72
test_md5_checksum_on_text2
Method · 0.72
test_md5_checksum_on_dos_text
Method · 0.72
test_md5_checksum
Method · 0.72