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