Skip to content

Fchown

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

Methods

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

Sets the owner of the file. No arguments other than a possible exception are given to the completion callback.

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

@since v0.4.7

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

Asynchronous fchown(2) - Change ownership of a file.

Parameter
fdA file descriptor.