(path, atime, mtime)
| 1986 | } |
| 1987 | |
| 1988 | async function lutimes(path, atime, mtime) { |
| 1989 | const h = vfsState.handlers; |
| 1990 | if (h !== null) { |
| 1991 | const promise = h.lutimes(path, atime, mtime); |
| 1992 | if (promise !== undefined) { await promise; return; } |
| 1993 | } |
| 1994 | |
| 1995 | return await PromisePrototypeThen( |
| 1996 | binding.lutimes( |
| 1997 | getValidatedPath(path), |
| 1998 | toUnixTimestamp(atime), |
| 1999 | toUnixTimestamp(mtime), |
| 2000 | kUsePromises, |
| 2001 | ), |
| 2002 | undefined, |
| 2003 | handleErrorFromBinding, |
| 2004 | ); |
| 2005 | } |
| 2006 | |
| 2007 | async function realpath(path, options) { |
| 2008 | const h = vfsState.handlers; |
nothing calls this directly
no test coverage detected