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

Function flow

__tests__/const-alias-flow.test.ts:57–59  ·  view source on GitHub ↗

The names on the flow a query finds, in order.

(cg: CodeGraph, query: string)

Source from the content-addressed store, hash-verified

55
56/** The names on the flow a query finds, in order. */
57function flow(cg: CodeGraph, query: string): string[] {
58 return resolveNamedSymbolFlow(cg, query).chains[0]?.steps.map((s) => s.node.name) ?? [];
59}
60
61const PATHS = `function validateString(value: string) { if (typeof value !== 'string') throw new Error('x'); }
62export const win32 = {

Callers 1

Calls 2

resolveNamedSymbolFlowFunction · 0.90
mapMethod · 0.80

Tested by

no test coverage detected