Function lutimes

  • Changes the access and modification times of a file in the same way as fsPromises.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.

    Since

    v0.0.67

    Returns

    Fulfills with undefined upon success.

    Parameters

    • path: PathLike
    • atime: TimeLike
    • mtime: TimeLike

    Returns Promise<void>

  • Changes the access and modification times of a file in the same way as fsPromises.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.

    Since

    v0.0.67

    Returns

    Fulfills with undefined upon success.

    Parameters

    • path: PathLike
    • atime: TimeLike
    • mtime: TimeLike

    Returns Promise<void>

Generated using TypeDoc