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

Function isRouteSource

graph-ui/src/provider/route-reader.ts:87–90  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

85
86/** True when this reader has a pattern family for the file. */
87export function isRouteSource(filePath: string): boolean {
88 const lower = filePath.toLowerCase();
89 return ROUTE_SOURCE_EXTENSIONS.some(extension => lower.endsWith(extension));
90}
91
92/** 1-based line the character at `index` sits on. */
93function lineAt(source: string, index: number): number {

Callers 2

scanRoutesMethod · 0.90
readRoutesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected