MCPcopy Create free account
hub / github.com/ByteDance-Seed/Triton-distributed / get_git_version_suffix

Function get_git_version_suffix

python/setup.py:1203–1210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1201 return ""
1202
1203
1204def get_git_version_suffix():
1205 if not is_git_repo():
1206 return "" # Not a git checkout
1207 branch = get_git_branch()
1208 if branch.startswith("release"):
1209 return ""
1210 else:
1211 return get_git_commit_hash()
1212
1213

Callers 1

setup.pyFile · 0.85

Calls 3

is_git_repoFunction · 0.85
get_git_branchFunction · 0.85
get_git_commit_hashFunction · 0.85

Tested by

no test coverage detected