该 API 不再被弃用。
参数 callback 不再是可选的。不传入它会在运行时抛出 TypeError。
callback
TypeError
参数 callback 不再是可选的。不传入它将触发 ID 为 DEP0013 的弃用警告。
仅文档弃用。
path <string> | <Buffer> | <URL>
path
uid <integer>
uid
gid <integer>
gid
callback <Function>
err
设置符号链接的所有者。除了可能的异常之外,没有为完成回调提供任何参数。
¥Set the owner of the symbolic link. No arguments other than a possible exception are given to the completion callback.
有关更多详细信息,请参阅 POSIX lchown(2) 文档。
lchown(2)
¥See the POSIX lchown(2) documentation for more detail.