MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isPlayRoutesFile

Function isPlayRoutesFile

src/extraction/grammars.ts:222–228  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

220 * resolver, so it's processed through the no-grammar (`yaml`-style) path.
221 */
222export function isPlayRoutesFile(filePath: string): boolean {
223 return (
224 filePath === 'conf/routes' ||
225 filePath.endsWith('/conf/routes') ||
226 filePath.endsWith('.routes')
227 );
228}
229
230/**
231 * Caches for loaded grammars and parsers

Callers 4

extractFunction · 0.90
frameworks.test.tsFile · 0.90
isSourceFileFunction · 0.85
detectLanguageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected