MCPcopy Create free account
hub / github.com/codemix/graph / clone

Method clone

packages/graph/src/Steps.ts:4383–4391  ·  view source on GitHub ↗
(partial?: Partial<IntersectStepConfig>)

Source from the content-addressed store, hash-verified

4381 }
4382
4383 public override clone(partial?: Partial<IntersectStepConfig>) {
4384 const { config, steps } = this;
4385 return new IntersectStep(
4386 {
4387 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
4388 },
4389 steps.map((step) => step.clone()),
4390 );
4391 }
4392}
4393
4394export interface OptionalMatchStepConfig extends StepConfig {

Callers

nothing calls this directly

Calls 2

mapMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected