MCPcopy 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
574export function getCachedHead(): Promise<string> {
575 return gitWatcher.get('head', computeHead)
576}
577
578export function getCachedRemoteUrl(): Promise<string | null> {
579 return gitWatcher.get('remoteUrl', computeRemoteUrl)

Callers 1

getHeadFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected