fsPromises.lutimes(path, atime, mtime)
path<string> | <Buffer> | <URL>atime<number> | <string> | <Date>mtime<number> | <string> | <Date>- 返回:<Promise> 成功时返回
undefined。
以与 fsPromises.utimes() 相同的方式更改文件的访问和修改时间,区别在于如果路径指向符号链接,则不会解除引用链接:相反,将更改符号链接本身的时间戳。
【Changes the access and modification times of a file in the same way as
fsPromises.utimes(), with the difference that if the path refers to a
symbolic link, then the link is not dereferenced: instead, the timestamps of
the symbolic link itself are changed.】