ld\n", $attr['size']); printf("Current atime: %ld\n", $attr['atime']); printf("Current mtime
dircache模块定义了使用缓存读取目录列表的功能,并使用目录的mtime缓存失效。另外,它定义了一个函数来通过追加斜杠来注释目录。
fs.utimes(path,atime,mtime,callback) 改变指定路径文件的时间戳。 fs.utimesSync(path,atime,mtime) fs.utimes()的同步版本。

扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2026 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059
粤公网安备44030502008569号
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号
