martaFile

Method rename()

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

Suspends

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

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