Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
279
def
sha1_git(location):
280
return
checksum(location, name=
"sha1_git"
, base64=False)
281
282
283
def
multi_checksums(location, checksum_names=(
"md5"
,
"sha1"
,
"sha256"
,
"sha512"
,
"sha1_git"
)):
Callers
1
test_sha1_git_checksum
Method · 0.90
Calls
1
checksum
Function · 0.85
Tested by
1
test_sha1_git_checksum
Method · 0.72