vertx / io.vertx.rxjava.core.file / FileSystem / deleteRecursive

deleteRecursive

open fun deleteRecursive(path: String, recursive: Boolean, handler: Handler<AsyncResult<Void>>): FileSystem

Deletes the file represented by the specified path, asynchronously.

If the path represents a directory and recursive = true then the directory and its contents will be deleted recursively.

Parameters

path - path to the file

recursive - delete recursively?

handler - the handler that will be called on completion

Return
a reference to this, so the API can be used fluently