How to use the lutimesSync function from fs
Find comprehensive JavaScript fs.lutimesSync code examples handpicked from public code repositorys.
GitHub: nwjs/node
129 130 131 132 133 134 135 136 137 138
// function syncTests() { fs.utimesSync(pathType(tmpdir.path), atime, mtime); expect_ok('utimesSync', tmpdir.path, undefined, atime, mtime); fs.lutimesSync(pathType(lpath), atime, mtime); expect_ok('lutimesSync', lpath, undefined, atime, mtime, fs.lstatSync); // Some systems don't have futimes // if there's an error, it should be ENOSYS
42
19
0
fs.readFileSync is the most popular function in fs (2736 examples)