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

Function unavailableText

graph-ui/src/twin/SelectedCodePanel.tsx:59–64  ·  view source on GitHub ↗
(section: TwinSection)

Source from the content-addressed store, hash-verified

57};
58
59function unavailableText(section: TwinSection): string | undefined {
60 if (section.state === 'notIndexed') return 'This information is not indexed yet.';
61 if (section.state === 'unsupported') return 'The current index does not provide this information.';
62 if (section.state === 'unknown') return 'This information is unavailable from the current index.';
63 return undefined;
64}
65
66function sectionSummary(section: TwinSection): string {
67 if (section.rows.length > 0) return String(section.rows.length);

Callers 2

sectionSummaryFunction · 0.85
FactDisclosureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected