deleteExisting
Deletes the existing file or empty directory specified by this path.
Since Kotlin
1.5See also
Throws
if the file or directory does not exist.
if the directory exists but is not empty.
Deletes the existing file or empty directory specified by this path.
if the file or directory does not exist.
if the directory exists but is not empty.
Thanks for your feedback!