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

Function fstatSync

lib/internal/vfs/setup.js:368–372  ·  view source on GitHub ↗
(fd, options)

Source from the content-addressed store, hash-verified

366 return undefined;
367 },
368 fstatSync(fd, options) {
369 const vfd = getVirtualFd(fd);
370 if (vfd) return vfd.entry.statSync(options);
371 return undefined;
372 },
373 ftruncateSync(fd, len) {
374 const vfd = getVirtualFd(fd);
375 if (vfd) { vfd.entry.truncateSync(len); return true; }

Callers

nothing calls this directly

Calls 2

getVirtualFdFunction · 0.85
statSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…