MCPcopy Index your code
hub / github.com/nodejs/node / #canAdoptWithSpace

Method #canAdoptWithSpace

deps/minimatch/index.js:713–715  ·  view source on GitHub ↗
(child)

Source from the content-addressed store, hash-verified

711 return i;
712 }
713 #canAdoptWithSpace(child) {
714 return this.#canAdopt(child, adoptionWithSpaceMap);
715 }
716 #canAdopt(child, map = adoptionMap) {
717 if (!child || typeof child !== "object" || child.type !== null || child.#parts.length !== 1 || this.type === null) {
718 return false;

Callers 1

#flattenMethod · 0.80

Calls 1

#canAdoptMethod · 0.80

Tested by

no test coverage detected