MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / get_git_commit_timestamp

Function get_git_commit_timestamp

tools/upload_progress.py:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def get_git_commit_timestamp() -> int:
22 return int(
23 subprocess.check_output(["git", "show", "-s", "--format=%ct"])
24 .decode("ascii")
25 .rstrip()
26 )
27
28
29def get_git_commit_sha() -> str:

Callers 1

upload_progress.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected