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