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

Function routeNote

graph-ui/src/entry/entry-model.ts:72–79  ·  view source on GitHub ↗
(
    overview: Pick<ArchitectureOverviewDto, 'entryPoints' | 'routes'> | undefined,
)

Source from the content-addressed store, hash-verified

70
71/** The sentence under the list, or empty when the list needs no sentence. */
72export function routeNote(
73 overview: Pick<ArchitectureOverviewDto, 'entryPoints' | 'routes'> | undefined,
74): string {
75 if (overview === undefined || (overview.routes ?? []).length > 0) {
76 return '';
77 }
78 return NO_ROUTES_NOTE;
79}
80
81function whereOf(filePath: string | undefined, line: number | undefined): string {
82 if (filePath === undefined || filePath.length === 0) {

Callers 2

ProjectWindowViewFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected