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

Function inModels

__tests__/extraction.test.ts:7009–7011  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

7007 cg.resolveReferences();
7008
7009 const inModels = (name: string) =>
7010 cg.getNodesByKind('class').concat(cg.getNodesByKind('module'))
7011 .find((n) => n.name === name && n.filePath.endsWith('models.dart'));
7012
7013 // The `with Loggable` mixin records a dependency — editing the mixin surfaces
7014 // the class that mixes it in (across files). Loggable is a `mixin`, indexed

Callers 1

extraction.test.tsFile · 0.85

Calls 1

getNodesByKindMethod · 0.65

Tested by

no test coverage detected