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

Function fsync

lib/internal/fs/promises.js:1581–1587  ·  view source on GitHub ↗
(handle)

Source from the content-addressed store, hash-verified

1579}
1580
1581async function fsync(handle) {
1582 return await PromisePrototypeThen(
1583 binding.fsync(handle.fd, kUsePromises),
1584 undefined,
1585 handleErrorFromBinding,
1586 );
1587}
1588
1589async function mkdir(path, options) {
1590 const h = vfsState.handlers;

Callers

nothing calls this directly

Calls 1

fsyncMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…