rm

external fun rm(path: PathLike, callback: NoParamCallback)(source)

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


external fun rm(path: PathLike, options: RmOptions, callback: NoParamCallback)(source)
suspend external fun rm(path: PathLike, options: RmOptions = definedExternally): Void(source)