Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/claude-code-best/claude-code
/ getCachedBranch
Function
getCachedBranch
src/utils/git/gitFilesystem.ts:568–570 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
566
}
567
568
export
function
getCachedBranch(): Promise<string> {
569
return
gitWatcher.get(
'branch'
, computeBranch)
570
}
571
572
export
function
getCachedHead(): Promise<string> {
573
return
gitWatcher.get(
'head'
, computeHead)
Callers
1
getBranch
Function · 0.85
Calls
1
get
Method · 0.65
Tested by
no test coverage detected