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

Function drops

src/resolution/parameter-flow.ts:646–647  ·  view source on GitHub ↗
(flow: TypedFlow, site: FlowSite, target: FlowMethod | null)

Source from the content-addressed store, hash-verified

644 flows.push(...sync.record.flows.filter((flow) => !reviewed!.has(flowKeyName(flow.key))));
645 }
646 const drops = (flow: TypedFlow, site: FlowSite, target: FlowMethod | null): boolean =>
647 target === null && site.edgeId !== undefined && !site.viaFlow && adapter.answersItself(flow.value, site.method);
648 const changes = (a: (typeof answers)[number]): boolean => a.flow.sites.some((site, i) => {
649 const target = a.targets[i]!;
650 return site.viaFlow || drops(a.flow, site, target) || (target !== null && target.id !== site.targetId);

Callers 2

changesFunction · 0.85
planFlowsFunction · 0.85

Calls 1

answersItselfMethod · 0.80

Tested by

no test coverage detected