deleteQuietly

expect fun File.deleteQuietly(): Boolean

Try and delete this file or directory quietly. Deleting something quietly means that

  • No guarantee is made whether the file or directory is successfully deleted

  • No exceptions are thrown if an error occurs

  • No information is carried outside should an exception occur, meaning you have no information about why the deletion, if it failed

Author

Griefed