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

Function readSync

lib/internal/vfs/setup.js:358–362  ·  view source on GitHub ↗
(fd, buffer, offset, length, position)

Source from the content-addressed store, hash-verified

356 return undefined;
357 },
358 readSync(fd, buffer, offset, length, position) {
359 const vfd = getVirtualFd(fd);
360 if (vfd) return vfd.entry.readSync(buffer, offset, length, position);
361 return undefined;
362 },
363 writeSync(fd, buffer, offset, length, position) {
364 const vfd = getVirtualFd(fd);
365 if (vfd) return vfd.entry.writeSync(buffer, offset, length, position);

Callers

nothing calls this directly

Calls 2

getVirtualFdFunction · 0.85
readSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…