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

Function getWorktreeCount

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

Source from the content-addressed store, hash-verified

419}
420
421export const getWorktreeCount = async (): Promise<number> => {
422 return getWorktreeCountFromFs()
423}
424
425/**
426 * 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