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

Method clone

packages/graph/src/Steps.ts:680–687  ·  view source on GitHub ↗
(partial?: Partial<FetchEdgesStepConfig>)

Source from the content-addressed store, hash-verified

678 }
679
680 public override clone(partial?: Partial<FetchEdgesStepConfig>) {
681 const { config } = this;
682 return new FetchEdgesStep({
683 edgeLabels: partial?.edgeLabels ?? (config.edgeLabels ? [...config.edgeLabels] : undefined),
684 ids: partial?.ids ?? (config.ids ? [...config.ids] : undefined),
685 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
686 });
687 }
688}
689
690export interface FetchVerticesStepConfig extends StepConfig {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected