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

Method child

lib/internal/fs/glob.js:279–281  ·  view source on GitHub ↗
(indexes, symlinks = new SafeSet(), realpaths = this.realpaths)

Source from the content-addressed store, hash-verified

277 return ArrayPrototypeAt(this.#pattern, index);
278 }
279 child(indexes, symlinks = new SafeSet(), realpaths = this.realpaths) {
280 return new Pattern(this.#pattern, this.#globStrings, indexes, symlinks, realpaths);
281 }
282 test(index, path) {
283 if (index > this.#pattern.length) {
284 return false;

Callers 2

#addSubpatternsMethod · 0.80
#iterateSubpatternsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected