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

Function absenceSentence

graph-ui/src/twin/strings.ts:350–364  ·  view source on GitHub ↗
(state: KnowledgeState, subject: string)

Source from the content-addressed store, hash-verified

348 * kept identical so a diff of the two files is the check.
349 */
350export function absenceSentence(state: KnowledgeState, subject: string): string {
351 switch (state) {
352 case 'notIndexed':
353 return `${subject} is unknown because this file is not in the index yet.`;
354 case 'unsupported':
355 return `${subject} is unknown because the analyzer does not record this for this language.`;
356 case 'inferred':
357 return `${subject} is derived from indexed callers, not read directly.`;
358 case 'unknown':
359 return `${subject} is unknown because no analysis backend answered.`;
360 case 'ambiguous':
361 case 'known':
362 return '';
363 }
364}
365
366// ---------------------------------------------------------------------------
367// Terminology: the same seven sections, named twice

Callers 2

StateMarkerFunction · 0.90
indexLimitsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected