Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
function Utime
import { Utime } from "https://deno.land/x/macromania_assets@v0.2.0/deps.ts";

Changes the access (atime) and modification (mtime) times of a file system object referenced by path. Given times are either in seconds (UNIX epoch time) or as Date objects.

See https://deno.land/api@v1.40.3?unstable=true&s=Deno.utime

Parameters

unnamed 0: { path: string | URL; atime: number | Date; mtime: number | Date; }

Returns

The empty string.