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

Function getDefaultBranch

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

Source from the content-addressed store, hash-verified

278}
279
280export const getDefaultBranch = async (): Promise<string> => {
281 return getCachedDefaultBranch()
282}
283
284export const getRemoteUrl = async (): Promise<string | null> => {
285 return getCachedRemoteUrl()

Callers 8

context.tsFile · 0.85
getDiffRefFunction · 0.85
getOrCreateWorktreeFunction · 0.85
teleportToRemoteFunction · 0.85
fetchPrStatusFunction · 0.85
createBridgeSessionFunction · 0.85
getPromptForCommandFunction · 0.85
launchRemoteReviewFunction · 0.85

Calls 1

getCachedDefaultBranchFunction · 0.85

Tested by

no test coverage detected