MCPcopy Index your code
hub / github.com/nodejs/node / copyIn

Method copyIn

deps/minimatch/index.js:591–596  ·  view source on GitHub ↗
(part)

Source from the content-addressed store, hash-verified

589 return this.#parentIndex === pl - 1;
590 }
591 copyIn(part) {
592 if (typeof part === "string")
593 this.push(part);
594 else
595 this.push(part.clone(this));
596 }
597 clone(parent) {
598 const c = new _a(this.type, parent);
599 for (const p of this.#parts) {

Callers 2

#fillNegsMethod · 0.80
cloneMethod · 0.80

Calls 2

pushMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected