Skip to main content
lutimes - node__fs.d.ts - Node documentation
function lutimes

Usage in Deno

```typescript import { lutimes } from "node:node__fs.d.ts"; ```
lutimes(
path: PathLike,
atime: TimeLike,
mtime: TimeLike,
callback: NoParamCallback,
): void
Changes the access and modification times of a file in the same way as [utimes](../.././node__fs.d.ts/~/utimes), with the difference that if the path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps of the symbolic link itself are changed. No arguments other than a possible exception are given to the completion callback.

Parameters

path: PathLike
atime: TimeLike
mtime: TimeLike
callback: NoParamCallback

Return Type

void