Function lutimes

  • Changes the access and modification times of a file in the same way as utimes, with the difference that if the path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps of the symbolic link itself are changed.

    No arguments other than a possible exception are given to the completion callback.

    Since

    v0.0.67

    Parameters

    • path: PathLike
    • atime: TimeLike
    • mtime: TimeLike
    • callback: VoidFunction

    Returns void

  • Changes the access and modification times of a file in the same way as utimes, with the difference that if the path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps of the symbolic link itself are changed.

    No arguments other than a possible exception are given to the completion callback.

    Since

    v0.0.67

    Parameters

    • path: PathLike
    • atime: TimeLike
    • mtime: TimeLike
    • callback: VoidFunction

    Returns void

Generated using TypeDoc