deleteRecursively

suspend fun VfsFile.deleteRecursively(includeSelf: Boolean = true)

Deletes all the files in this folder recursively. If the entry is a file instead of a directory, the file is deleted.

When includeSelf is set to false, this function will delete all the descendants but the folder itself.