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

Method clone

packages/graph/src/Steps.ts:4316–4324  ·  view source on GitHub ↗
(partial?: Partial<MultiQueryStepConfig>)

Source from the content-addressed store, hash-verified

4314 }
4315
4316 public override clone(partial?: Partial<MultiQueryStepConfig>) {
4317 return new MultiQueryStep(
4318 {
4319 stepLabels:
4320 partial?.stepLabels ?? (this.config.stepLabels ? [...this.config.stepLabels] : undefined),
4321 },
4322 this.#statements.map((statement) => statement.map((step) => step.clone())),
4323 );
4324 }
4325}
4326
4327export interface IntersectStepConfig extends StepConfig {}

Callers

nothing calls this directly

Calls 2

mapMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected