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

Function synthEdgesTo

__tests__/arkts-resolution.test.ts:213–220  ·  view source on GitHub ↗
(from: string)

Source from the content-addressed store, hash-verified

211 const describeCount = methods.find((n) => n.qualifiedName === 'Page::describeCount')!;
212
213 const synthEdgesTo = (from: string) =>
214 cg
215 .getOutgoingEdges(from)
216 .filter(
217 (e) =>
218 e.target === build.id &&
219 (e.metadata as Record<string, unknown> | undefined)?.synthesizedBy === 'arkui-state'
220 );
221
222 // Array mutator and plain assignment both count as state writes.
223 expect(synthEdgesTo(addTodo.id)).toHaveLength(1);

Callers 1

Calls 1

getOutgoingEdgesMethod · 0.45

Tested by

no test coverage detected