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

Function entryPointNames

graph-ui/src/impact/impact-model.ts:366–383  ·  view source on GitHub ↗
(architecture: ArchitectureOverviewDto | undefined)

Source from the content-addressed store, hash-verified

364 * depending on the language.
365 */
366export function entryPointNames(architecture: ArchitectureOverviewDto | undefined): Set<string> {
367 const names = new Set<string>();
368 for (const entry of architecture?.entryPoints ?? []) {
369 if (!PROGRAM_START_NAMES.includes(entry.name)) {
370 continue;
371 }
372 if (entry.qualifiedName) {
373 names.add(entry.qualifiedName);
374 }
375 names.add(entry.name);
376 }
377 for (const route of architecture?.routes ?? []) {
378 if (route.handler) {
379 names.add(route.handler);
380 }
381 }
382 return names;
383}
384
385/**
386 * What the rules get to see about one symbol.

Callers 2

mapChangeImpactFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected