Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ get_current_branch
Function
get_current_branch
tools/release-set-version.py:39–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
38
# get current git branch
39
def
get_current_branch():
40
return
git([
'branch'
,
'--show-current'
])
41
42
43
def
set_version(new_version:str):
Callers
1
set_version
Function · 0.85
Calls
1
git
Function · 0.85
Tested by
no test coverage detected