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

Function writeSync

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

Source from the content-addressed store, hash-verified

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);
366 return undefined;
367 },
368 fstatSync(fd, options) {
369 const vfd = getVirtualFd(fd);
370 if (vfd) return vfd.entry.statSync(options);

Callers 1

writeMethod · 0.50

Calls 2

getVirtualFdFunction · 0.85
writeSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…