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

Function detectFrameworks

src/resolution/frameworks/index.ts:98–106  ·  view source on GitHub ↗
(context: ResolutionContext)

Source from the content-addressed store, hash-verified

96 * Detect which frameworks are used in a project
97 */
98export function detectFrameworks(context: ResolutionContext): FrameworkResolver[] {
99 return FRAMEWORK_RESOLVERS.filter((resolver) => {
100 try {
101 return resolver.detect(context);
102 } catch {
103 return false;
104 }
105 });
106}
107
108/**
109 * Filter a list of detected frameworks down to ones that apply to a given language.

Callers 3

initializeMethod · 0.90
resolution.test.tsFile · 0.90

Calls 1

detectMethod · 0.65

Tested by

no test coverage detected