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

Function sha1_git

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

Source from the content-addressed store, hash-verified

277
278
279def sha1_git(location):
280 return checksum(location, name="sha1_git", base64=False)
281
282
283def multi_checksums(location, checksum_names=("md5", "sha1", "sha256", "sha512", "sha1_git")):

Callers 1

Calls 1

checksumFunction · 0.85

Tested by 1