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

Method clone

packages/graph/src/Steps.ts:2517–2523  ·  view source on GitHub ↗
(partial?: Partial<FilterElementsStepConfig<TPath>>)

Source from the content-addressed store, hash-verified

2515 }
2516
2517 public override clone(partial?: Partial<FilterElementsStepConfig<TPath>>) {
2518 const { config } = this;
2519 return new FilterElementsStep({
2520 condition: partial?.condition ?? config.condition,
2521 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
2522 });
2523 }
2524
2525 public override toStringTokens(): readonly StepStringToken[] {
2526 const { stepLabels, condition } = this.config;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected