• Create a hard file link. See link(2)

    Parameters

    • path: string

      Source file path.

    • newPath: string

      Target file path.

    Returns Promise<void>