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

Function prefixed

graph-ui/src/architecture/semantic-graph.ts:584–584  ·  view source on GitHub ↗
(node: SemanticNode)

Source from the content-addressed store, hash-verified

582 // A filter that names a route group's prefix selects exactly that group's
583 // routes, by the rule that built the group; any other text is a search.
584 const prefixed = (node: SemanticNode) => node.kind === 'route' && routePrefixOf(node.label).toLowerCase() === filter;
585 const routeGroup = options.view === 'routes' && options.groupRoutes && /^\/[^/\s]+$/.test(filter) && nodes.some(prefixed);
586 for (const node of nodes) {
587 if (routeGroup ? prefixed(node)

Callers 1

buildSemanticGraphFunction · 0.85

Calls 1

routePrefixOfFunction · 0.85

Tested by

no test coverage detected