Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/claude-code-best/claude-code
/ getHead
Function
getHead
src/utils/git.ts:257–259 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
255
}
256
257
export
const
getHead =
async
(): Promise<string> => {
258
return
getCachedHead()
259
}
260
261
export
const
getBranch =
async
(): Promise<string> => {
262
return
getCachedBranch()
Callers
1
getGitState
Function · 0.85
Calls
1
getCachedHead
Function · 0.85
Tested by
no test coverage detected