MCPcopy
hub / github.com/claude-code-best/claude-code / getCachedBranch

Function getCachedBranch

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

Source from the content-addressed store, hash-verified

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

Callers 1

getBranchFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected