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

Function entryHeadline

graph-ui/src/entry/entry-model.ts:46–54  ·  view source on GitHub ↗
(total: number, shown: number)

Source from the content-addressed store, hash-verified

44
45/** The headline over the list: what it holds and what it is not showing. */
46export function entryHeadline(total: number, shown: number): string {
47 if (total === 0) {
48 return 'the index flagged no entry point for this project';
49 }
50 if (shown < total) {
51 return `${total} ways in the index flagged, ${shown} shown: search for the rest`;
52 }
53 return total === 1 ? '1 way in the index flagged' : `${total} ways in the index flagged`;
54}
55
56/**
57 * Why there is no route in the list, when there is none.

Callers 2

ProjectWindowViewFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected