MCPcopy Create free account
hub / github.com/PatrickSys/codebase-context / isTemplateOrStyleFile

Method isTemplateOrStyleFile

src/core/search.ts:461–464  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

459 }
460
461 private isTemplateOrStyleFile(filePath: string): boolean {
462 const ext = path.extname(filePath).toLowerCase();
463 return ['.html', '.scss', '.css', '.less', '.sass', '.styl'].includes(ext);
464 }
465
466 private isCompositionRootFile(filePath: string): boolean {
467 const normalized = filePath.toLowerCase().replace(/\\/g, '/');

Callers 1

scoreAndSortResultsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected