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

Method clone

packages/graph/src/Steps.ts:2588–2595  ·  view source on GitHub ↗
(partial?: Partial<RangeStepConfig>)

Source from the content-addressed store, hash-verified

2586 }
2587
2588 public override clone(partial?: Partial<RangeStepConfig>) {
2589 const { config } = this;
2590 return new RangeStep({
2591 start: partial?.start ?? config.start,
2592 end: partial?.end ?? config.end,
2593 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
2594 });
2595 }
2596}
2597
2598export interface CountStepConfig extends StepConfig {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected