overwrite

fun overwrite(file: String, value: String)(source)

Overwrites the file, deleting it if it exists


inline fun overwrite(file: String, crossinline writer: (DataOutputStream) -> Unit = { })(source)

Overwrites the file with the provided writer, deleting it if it exists