Back to Pocketbase

Interface chtimes

static/jsvm/interfaces/os.chtimes.html

latest798 B
Original Source

Interface chtimes

Hierarchy

  • chtimes

  • chtimes(name, atime, mtime): void

Chtimes changes the access and modification times of the named file, similar to the Unix utime() or utimes() functions. A zero [time.Time] value will leave the corresponding file time unchanged.

The underlying filesystem may truncate or round the values to a less precise time unit. If there is an error, it will be of type [*PathError].

Parameters

name: string
atime: Time
mtime: Time

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc