MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getCachedDefaultBranch

Function getCachedDefaultBranch

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

Source from the content-addressed store, hash-verified

578}
579
580export function getCachedDefaultBranch(): Promise<string> {
581 return gitWatcher.get('defaultBranch', computeDefaultBranch)
582}
583
584/** Reset the git file watcher state. For testing only. */
585export function resetGitFileWatcher(): void {

Callers 1

getDefaultBranchFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected