io.sureshg.extn / java.nio.file.Path

Extensions for java.nio.file.Path

delete

fun Path.delete(): Unit

Deletes the files or directory (recursively) represented by this path.