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

Function link

__tests__/ui-steps-model.test.ts:20–22  ·  view source on GitHub ↗
(from: WireStep, to: WireStep, extra: Partial<WireStepLink> = {})

Source from the content-addressed store, hash-verified

18}
19
20function link(from: WireStep, to: WireStep, extra: Partial<WireStepLink> = {}): WireStepLink {
21 return { id: `${from.id} ${to.id}`, from: from.id, to: to.id, kind: 'calls', via: [], when: '', label: '', synthesized: false, uncertain: false, sites: [], ...extra };
22}
23
24function payload(steps: WireStep[], links: WireStepLink[]): WireStepsPayload {
25 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected