MCPcopy Create free account
hub / github.com/nodejs/node / utimesSync

Method utimesSync

lib/internal/vfs/providers/memory.js:930–935  ·  view source on GitHub ↗
(path, atime, mtime)

Source from the content-addressed store, hash-verified

928 }
929
930 utimesSync(path, atime, mtime) {
931 const entry = this.#getEntry(path, 'utime', true);
932 entry.atime = toMs(atime);
933 entry.mtime = toMs(mtime);
934 entry.ctime = DateNow();
935 }
936
937 lutimesSync(path, atime, mtime) {
938 const entry = this.#getEntry(path, 'utime', false);

Callers

nothing calls this directly

Calls 2

#getEntryMethod · 0.95
toMsFunction · 0.85

Tested by

no test coverage detected