MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / impactChangedSentence

Function impactChangedSentence

graph-ui/src/impact/impact-strings.ts:76–87  ·  view source on GitHub ↗
(files: number, symbols: number)

Source from the content-addressed store, hash-verified

74// Die Erzaehlung, ein Satz je Lesung -----------------------------------------
75
76export function impactChangedSentence(files: number, symbols: number): string {
77 if (files === 0) {
78 return 'Nothing in the working tree differs from the baseline.';
79 }
80 const where = files === 1 ? 'it' : 'them';
81 if (symbols === 0) {
82 return `${countOf(files, 'file differs', 'files differ')} from the baseline, `
83 + `and the index holds no symbol in ${where}.`;
84 }
85 return `${countOf(files, 'file differs', 'files differ')} from the baseline, `
86 + `and the index places ${countOf(symbols, 'symbol', 'symbols')} inside ${where}.`;
87}
88
89/**
90 * Wie viele Deklarationen die Analyse wirklich angefasst hat.

Callers 1

buildNarrativeFunction · 0.90

Calls 1

countOfFunction · 0.70

Tested by

no test coverage detected