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

Function getWorktreeCount

src/utils/git.ts:419–421  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417}
418
419export const getWorktreeCount = async (): Promise<number> => {
420 return getWorktreeCountFromFs()
421}
422
423/**
424 * Stashes all changes (including untracked files) to return git to a clean porcelain state

Callers 3

logStartupTelemetryFunction · 0.85
getGitStateFunction · 0.85
tipRegistry.tsFile · 0.85

Calls 1

getWorktreeCountFromFsFunction · 0.85

Tested by

no test coverage detected