delete

open fun delete(recursively: Boolean): Boolean

Delete this folder.

Return

true if the operation is successful, false otherwise

See also

Parameters

recursively

If set to true all child files will also be deleted.

If set to false, the operation will fail on any non-empty folder

Throws

on a null file argument.

on a network or API error.