Change the file system timestamps of the object referenced by path.
path
The atime and mtime arguments follow these rules:
atime
mtime
Date
'123456789.0'
NaN
Infinity
-Infinity
Error
Fulfills with undefined upon success.
undefined
v10.0.0
Generated using TypeDoc
Change the file system timestamps of the object referenced by
path
.The
atime
andmtime
arguments follow these rules:Date
s, or a numeric string like'123456789.0'
.NaN
,Infinity
or-Infinity
, anError
will be thrown.