Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bfbbdecomp/bfbb
/ get_git_commit_sha
Function
get_git_commit_sha
tools/upload_progress.py:29–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
28
29
def
get_git_commit_sha() -> str:
30
return
subprocess.check_output([
"git"
,
"rev-parse"
,
"HEAD"
]).decode(
"ascii"
).strip()
31
32
33
def
generate_url(args: argparse.Namespace) -> str:
Callers
1
upload_progress.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected