fs.futimes 方法用来更新文件的访问和修改时间,语法为 fs.futimes(fd, atime, mtime, callback),其中 fd 为文件描述符,atime 为访问时间,mtime 为修改时间,callback 为回调函数。
Nodejs 23 次浏览