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

Function getApplicableFrameworks

src/resolution/frameworks/index.ts:141–148  ·  view source on GitHub ↗
(
  detected: FrameworkResolver[],
  language: Language
)

Source from the content-addressed store, hash-verified

139 * Frameworks without an explicit `languages` list are treated as universal.
140 */
141export function getApplicableFrameworks(
142 detected: FrameworkResolver[],
143 language: Language
144): FrameworkResolver[] {
145 return detected.filter(
146 (fw) => !fw.languages || fw.languages.includes(language)
147 );
148}
149
150/**
151 * Filter a list of detected frameworks down to ones whose `resolve()` reads a

Callers 2

frameworks.test.tsFile · 0.90
extractFromSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected