How to use the utimesSync function from graceful-fs
Find comprehensive JavaScript graceful-fs.utimesSync code examples handpicked from public code repositorys.
GitHub: canarddu38/DUCKSPLOIT
537 538 539 540 541 542 543 544 545 546 547 548
exports.unlink = Promise.promisify(fs.unlink); exports.unlinkSync = fs.unlinkSync; // utimes exports.utimes = Promise.promisify(fs.utimes); exports.utimesSync = fs.utimesSync; exports.futimes = Promise.promisify(fs.futimes); exports.futimesSync = fs.futimesSync; // watch
9
48
0
+ 7 other calls in file
GitHub: Sathish9686/Gadgets-Page
98 99 100 101 102 103 104 105 106 107 108
} }; exports.utimesSync = (path, atime, mtime) => { try { return fs.utimesSync(path, atime, mtime); } catch (error) { throw new CpFileError(`utimes \`${path}\` failed: ${error.message}`, error); } };
0
0
0
graceful-fs.promises is the most popular function in graceful-fs (1135 examples)