MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / sha1

Function sha1

src/commoncode/hash.py:263–264  ·  view source on GitHub ↗
(location)

Source from the content-addressed store, hash-verified

261
262
263def sha1(location):
264 return checksum(location, name="sha1", base64=False)
265
266
267def b64sha1(location):

Callers 7

test_sha1_checksumMethod · 0.90
get_uuid_on_contentFunction · 0.85
_unique_idMethod · 0.85
tokens_hashFunction · 0.85

Calls 1

checksumFunction · 0.85