Skip to main content
lutimes - fs - Node documentation
function lutimes

Usage in Deno

import { lutimes } from "node:fs";
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, 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