The existingPath and newPath parameters can be WHATWG URL objects using file: protocol. Support is currently still experimental.
existingPath
newPath
URL
file:
新增于: v0.1.31
从 existingPath 创建到 newPath 的新链接。详细信息请参阅 POSIX link(2) 文档。返回 undefined。
link(2)
undefined
【Creates a new link from the existingPath to the newPath. See the POSIX link(2) documentation for more detail. Returns undefined.】