MCPcopy Create free account
hub / github.com/Effect-TS/effect / utimes

Function utimes

packages/platform/deno/src/DenoFileSystem.ts:390–391  ·  view source on GitHub ↗
(path, atime, mtime)

Source from the content-addressed store, hash-verified

388 tryPromise("truncate", path, () => Deno.truncate(path, length === undefined ? undefined : Number(length)))
389
390const utimes: FileSystem.FileSystem["utimes"] = (path, atime, mtime) =>
391 tryPromise("utimes", path, () => Deno.utime(path, atime, mtime))
392
393const watchNative = (
394 path: string,

Callers 1

Calls 1

tryPromiseFunction · 0.70

Tested by

no test coverage detected