Skip to content

Lchown

[<Interface>]
type Lchown =
    abstract member Invoke (path: PathLike, uid: float, gid: float, callback: NoParamCallback) : unit
    abstract member __promisify__ (path: PathLike, uid: float, gid: float) : Promise<unit>
AssemblyXantham.Fable.Node

Methods

abstract member Invoke (path: PathLike, uid: float, gid: float, callback: NoParamCallback) : unit

Set the owner of the symbolic link. No arguments other than a possible exception are given to the completion callback.

See the POSIX lchown(2) documentation for more detail.

abstract member __promisify__ (path: PathLike, uid: float, gid: float) : Promise<unit>

Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.

Parameter
pathA path to a file. If a URL is provided, it must use the file: protocol.