MCPcopy Create free account
hub / github.com/denoland/std / utime

Method utime

fs/unstable_types.ts:519–519  ·  view source on GitHub ↗

* Changes the access (`atime`) and modification (`mtime`) times of the * file stream resource. Given times are either in seconds (UNIX epoch * time) or as `Date` objects. * * @example Usage * ```ts ignore * import { open } from "@std/fs/unstable-open"; * using file = await open(

(atime: number | Date, mtime: number | Date)

Source from the content-addressed store, hash-verified

517 * ```
518 */
519 utime(atime: number | Date, mtime: number | Date): Promise<void>;
520 /**
521 * Synchronously changes the access (`atime`) and modification (`mtime`) times
522 * of the file stream resource. Given times are either in seconds (UNIX epoch

Callers 5

copyFileFunction · 0.65
copySymLinkFunction · 0.65
copyDirFunction · 0.65
utimeFunction · 0.65

Implementers 1

NodeFsFilefs/_node_fs_file.ts

Calls

no outgoing calls

Tested by

no test coverage detected