fs.link(existingPath, newPath, callback)
existingPath
<string> | <Buffer> | <URL>newPath
<string> | <Buffer> | <URL>callback
<Function>err
<Error>
创建从 existingPath
到 newPath
的新链接。
有关更多详细信息,请参阅 POSIX link(2)
文档。
除了可能的异常之外,没有为完成回调提供任何参数。
existingPath
<string> | <Buffer> | <URL>newPath
<string> | <Buffer> | <URL>callback
<Function>err
<Error>
Creates a new link from the existingPath
to the newPath
. See the POSIX
link(2)
documentation for more detail. No arguments other than a possible
exception are given to the completion callback.