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

Function inModels

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

Source from the content-addressed store, hash-verified

5693 cg.resolveReferences();
5694
5695 const inModels = (name: string) =>
5696 cg.getNodesByKind('class').concat(cg.getNodesByKind('module'))
5697 .find((n) => n.name === name && n.filePath.endsWith('models.dart'));
5698
5699 // The `with Loggable` mixin records a dependency — editing the mixin surfaces
5700 // 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