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

Function fstat

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

Source from the content-addressed store, hash-verified

427 .then(({ bytesWritten }) => bytesWritten);
428 },
429 fstat(fd, options) {
430 const vfd = getVirtualFd(fd);
431 if (!vfd) return undefined;
432 return vfd.entry.stat(options);
433 },
434 ftruncate(fd, len) {
435 const vfd = getVirtualFd(fd);
436 if (!vfd) return undefined;

Callers

nothing calls this directly

Calls 2

getVirtualFdFunction · 0.85
statMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…