MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / get_git_commit_hash

Function get_git_commit_hash

Buildscripts/CDN/generate-sdk-files.py:40–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 print(" --verbose Show extra console output")
39
40def get_git_commit_hash():
41 return subprocess.check_output(['git', 'rev-parse', 'HEAD']).decode('ascii').strip()
42
43def main(in_path: str, out_path: str, version: str):
44 if not os.path.exists(in_path):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected