delete

abstract fun delete(path: String)

Deletes the file at the given path if such a file exists.

If the target file does not exist, this method does nothing.

Parameters

path

Relative path to the file that should be deleted.