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

Method seen

lib/internal/fs/glob.js:243–245  ·  view source on GitHub ↗
(path, pattern, index)

Source from the content-addressed store, hash-verified

241 return cache.size !== originalSize + pattern.indexes.size;
242 }
243 seen(path, pattern, index) {
244 return this.#cache.get(path)?.has(pattern.cacheKey(index));
245 }
246}
247
248class Pattern {

Callers 2

#addSubpatternsMethod · 0.80
#iterateSubpatternsMethod · 0.80

Calls 3

cacheKeyMethod · 0.80
hasMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected