martaFile

Method rename()

fun File:rename(target: String): Error?

Suspends

Rename a file to target (a new absolute file path).

Both old and new paths should be on the same physical volume.