(handle, atime, mtime)
| 1973 | } |
| 1974 | |
| 1975 | async function futimes(handle, atime, mtime) { |
| 1976 | if (permission.isEnabled()) { |
| 1977 | throw new ERR_ACCESS_DENIED('futimes API is disabled when Permission Model is enabled.'); |
| 1978 | } |
| 1979 | atime = toUnixTimestamp(atime, 'atime'); |
| 1980 | mtime = toUnixTimestamp(mtime, 'mtime'); |
| 1981 | return await PromisePrototypeThen( |
| 1982 | binding.futimes(handle.fd, atime, mtime, kUsePromises), |
| 1983 | undefined, |
| 1984 | handleErrorFromBinding, |
| 1985 | ); |
| 1986 | } |
| 1987 | |
| 1988 | async function lutimes(path, atime, mtime) { |
| 1989 | const h = vfsState.handlers; |
nothing calls this directly
no test coverage detected