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