How to use the fsyncSync function from graceful-fs
Find comprehensive JavaScript graceful-fs.fsyncSync code examples handpicked from public code repositorys.
GitHub: canarddu38/DUCKSPLOIT
463 464 465 466 467 468 469 470 471 472 473 474
exports.exists = exists; exports.existsSync = existsSync; // fsync exports.fsync = Promise.promisify(fs.fsync); exports.fsyncSync = fs.fsyncSync; // link exports.link = Promise.promisify(fs.link); exports.linkSync = fs.linkSync;
9
48
0
+ 7 other calls in file
213 214 215 216 217 218 219 220 221 222
fs.writeSync(fd, data, 0, data.length, 0) } else if (data != null) { fs.writeSync(fd, String(data), 0, String(options.encoding || 'utf8')) } if (options.fsync !== false) { fs.fsyncSync(fd) } fs.closeSync(fd) if (options.chown) fs.chownSync(tmpfile, options.chown.uid, options.chown.gid) if (options.mode) fs.chmodSync(tmpfile, options.mode)
0
0
0
+ 3 other calls in file
graceful-fs.promises is the most popular function in graceful-fs (1135 examples)