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

Function setModifiedTime

test/fixtures/snapshot/typescript.js:7486–7493  ·  view source on GitHub ↗
(path, time)

Source from the content-addressed store, hash-verified

7484 }
7485 }
7486 function setModifiedTime(path, time) {
7487 try {
7488 _fs.utimesSync(path, time, time);
7489 }
7490 catch (e) {
7491 return;
7492 }
7493 }
7494 function deleteFile(path) {
7495 try {
7496 return _fs.unlinkSync(path);

Callers

nothing calls this directly

Calls 1

utimesSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…