Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/claude-code-best/claude-code
/ getBranch
Function
getBranch
src/utils/git.ts:261–263 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
259
}
260
261
export
const
getBranch =
async
(): Promise<string> => {
262
return
getCachedBranch()
263
}
264
265
export
const
getDefaultBranch =
async
(): Promise<string> => {
266
return
getCachedDefaultBranch()
Callers
12
context.ts
File · 0.85
run
Function · 0.85
LogSelector
Function · 0.85
BridgeDialog
Function · 0.85
getGitState
Function · 0.85
insertMessageChain
Method · 0.85
createWorktreeForSession
Function · 0.85
fetchPrStatus
Function · 0.85
initReplBridge
Function · 0.85
bridgeMain
Function · 0.85
runBridgeHeadless
Function · 0.85
getVoiceKeyterms
Function · 0.85
Calls
1
getCachedBranch
Function · 0.85
Tested by
no test coverage detected