tuweni / org.apache.tuweni.io.file / Files / deleteRecursively

deleteRecursively

static fun deleteRecursively(directory: Path!): Unit (source)

Delete a directory and all files contained within it.

Parameters

directory - Path!: The directory to delete.

Exceptions

IOException - If an I/O error occurs.