Skip to content

Rm

[<Interface>]
type Rm =
    abstract member Invoke (path: PathLike, options: RmOptions, callback: NoParamCallback) : unit
    abstract member Invoke (path: PathLike, callback: NoParamCallback) : unit
    abstract member __promisify__ (path: PathLike, ?options: RmOptions) : Promise<unit>
AssemblyXantham.Fable.Node

Methods

abstract member Invoke (path: PathLike, options: RmOptions, callback: NoParamCallback) : unit

Asynchronously removes files and directories (modeled on the standard POSIX rm utility). No arguments other than a possible exception are given to the completion callback.

@since v14.14.0

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

Asynchronously removes files and directories (modeled on the standard POSIX rm utility). No arguments other than a possible exception are given to the completion callback.

@since v14.14.0

abstract member __promisify__ (path: PathLike, ?options: RmOptions) : Promise<unit>

Asynchronously removes files and directories (modeled on the standard POSIX rm utility).