MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getCachedBranch

Function getCachedBranch

source code/utils/git/gitFilesystem.ts:570–572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

568}
569
570export function getCachedBranch(): Promise<string> {
571 return gitWatcher.get('branch', computeBranch)
572}
573
574export function getCachedHead(): Promise<string> {
575 return gitWatcher.get('head', computeHead)

Callers 1

getBranchFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected