Path.utime

void utime(SysTime atime, SysTime mtime) const

Update file timestamps (like POSIX utime), following symlinks.

Platform semantics:

  • POSIX: Equivalent to utime(2) on the target path (follows symlinks).
  • Windows: Implemented via std.file.setTimes.

    Parameters

    atimeAccess time to set.
    mtimeModification time to set.