(path, atime, mtime, cb)
| 877 | }, |
| 878 | |
| 879 | utimens(path, atime, mtime, cb) { |
| 880 | if (!vfs.existsSync(toVfs(path))) { |
| 881 | cb(ERRNO.ENOENT); |
| 882 | return; |
| 883 | } |
| 884 | // Note: with libfuse2/fuse-native, touch -a / touch -m alone do not |
| 885 | // reach this op — the kernel/libfuse short-circuits when only one of |
| 886 | // atime/mtime is provided (UTIME_OMIT). touch with both set works. |
| 887 | updateMeta(path, { atime: new Date(atime), mtime: new Date(mtime) }); |
| 888 | cb(0); |
| 889 | }, |
| 890 | readlink(path, cb) { |
| 891 | try { |
| 892 | cb(0, vfs.readlinkSync(toVfs(path))); |
nothing calls this directly
no test coverage detected