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

Function impactRouteScanNote

graph-ui/src/impact/impact-strings.ts:257–264  ·  view source on GitHub ↗
(scanned: number, cap: number | undefined, truncatedFiles: number)

Source from the content-addressed store, hash-verified

255 * sind zwei verschiedene Aussagen ueber dieselbe Zahl.
256 */
257export function impactRouteScanNote(scanned: number, cap: number | undefined, truncatedFiles: number): string {
258 const head = cap === undefined
259 ? `Routes were read off the text of ${countOf(scanned, 'indexed source file', 'indexed source files')}.`
260 : `Routes were read from the first ${cap} indexed source files only.`;
261 return truncatedFiles === 0
262 ? head
263 : `${head} ${countOf(truncatedFiles, 'file', 'files')} arrived incomplete, so a registration past the cut is not on this list.`;
264}
265
266/** Die Zeile ueber der Badge-Begruendung. */
267export const IMPACT_BADGE_WHY_TITLE = 'Which rules fired';

Callers 1

readImpactFunction · 0.90

Calls 1

countOfFunction · 0.70

Tested by

no test coverage detected