MCPcopy Create free account
hub / github.com/backnotprop/plannotator / combinedLineCounts

Function combinedLineCounts

packages/shared/workspace-status.ts:143–149  ·  view source on GitHub ↗
(
	...sources: Array<Map<string, { additions: number; deletions: number }>>
)

Source from the content-addressed store, hash-verified

141}
142
143function combinedLineCounts(
144 ...sources: Array<Map<string, { additions: number; deletions: number }>>
145): Map<string, { additions: number; deletions: number }> {
146 const combined = new Map<string, { additions: number; deletions: number }>();
147 for (const source of sources) addLineCounts(combined, source);
148 return combined;
149}
150
151export function getGitRepositoryInfo(cwd: string): GitRepositoryInfo | null {
152 const topLevel = runGit(cwd, ["rev-parse", "--show-toplevel"]);

Callers 1

Calls 1

addLineCountsFunction · 0.85

Tested by

no test coverage detected