• Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.

    Parameters

    • existingPath: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • newPath: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    Returns Promise<void>