Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ addToStatCache
Method
addToStatCache
lib/internal/fs/glob.js:207–209 ·
view source on GitHub ↗
(path, val)
Source
from the content-addressed store, hash-verified
205
return
val;
206
}
207
addToStatCache(path, val) {
208
this.#statsCache.set(path, val);
209
}
210
async
readdir(path) {
211
const
cached = this.#readdirCache.get(path);
212
if
(cached) {
Callers
2
#addSubpatterns
Method · 0.80
#iterateSubpatterns
Method · 0.80
Calls
1
set
Method · 0.45
Tested by
no test coverage detected