MCPcopy 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
39def get_current_branch():
40 return git(['branch', '--show-current'])
41
42
43def set_version(new_version:str):

Callers 1

set_versionFunction · 0.85

Calls 1

gitFunction · 0.85

Tested by

no test coverage detected