MCPcopy Create free account
hub / github.com/Noumena-Network/code / getBranch

Function getBranch

src/utils/git.ts:276–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274}
275
276export const getBranch = async (): Promise<string> => {
277 return getCachedBranch()
278}
279
280export const getDefaultBranch = async (): Promise<string> => {
281 return getCachedDefaultBranch()

Callers 12

context.tsFile · 0.85
runFunction · 0.85
LogSelectorFunction · 0.85
BridgeDialogFunction · 0.85
getGitStateFunction · 0.85
insertMessageChainMethod · 0.85
createWorktreeForSessionFunction · 0.85
fetchPrStatusFunction · 0.85
initReplBridgeFunction · 0.85
bridgeMainFunction · 0.85
runBridgeHeadlessFunction · 0.85
getVoiceKeytermsFunction · 0.85

Calls 1

getCachedBranchFunction · 0.85

Tested by

no test coverage detected