Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.
callback
ERR_INVALID_ARG_TYPE
ERR_INVALID_CALLBACK
This API is no longer deprecated.
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.
TypeError
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.
Documentation-only deprecation.
path
uid
gid
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.】