MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / get_git_branch

Function get_git_branch

src/bonsai/bonsai/__init__.py:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62
63
64def get_git_branch() -> Union[str, None]:
65 # Using this weird way to write 7777777,
66 # so makefile won't accidentally replace it here
67 # we'll be able to distinguish branch from placeholder value.
68 if last_git_branch == str(7_777777):
69 return None
70 return last_git_branch
71
72
73# Accessed from bonsai extension:

Callers 1

get_debug_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected