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

Callers 1

getHeadFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected