MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / getCurrentBranchName

Method getCurrentBranchName

plugins/vcs/Repository.cpp:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98std::string Repository::getCurrentBranchName()
99{
100 auto head = getHead();
101 return head ? head->getShorthandName() : std::string();
102}
103
104std::string Repository::getUpstreamRemoteName(const Reference& reference)
105{

Callers 2

initialiseModuleMethod · 0.80
setRepositoryMethod · 0.80

Calls 1

getShorthandNameMethod · 0.80

Tested by

no test coverage detected