functionfs.promises.linkfunction link(existingPath: PathLike,newPath: PathLike): Promise<void>;Creates a new link from the existingPath to the newPath. See the POSIX link(2) documentation for more detail.@returnsFulfills with undefined upon success.Referenced typestype PathLike = string | Buffer | URLValid types for path values in "fs".
Creates a new link from the existingPath to the newPath. See the POSIX link(2) documentation for more detail.