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

Usage in Deno

import { lutimesSync } from "node:fs";
lutimesSync(
path: PathLike,
atime: TimeLike,
mtime: TimeLike,
): void

Change the file system timestamps of the symbolic link referenced by path. Returns undefined, or throws an exception when parameters are incorrect or the operation fails. This is the synchronous version of lutimes.

Parameters

path: PathLike
atime: TimeLike
mtime: TimeLike

Return Type

void