rename

abstract fun rename(root: String, relativePath: String, newRelativePath: String): Boolean

Moves a regular file to newRelativePath within the same root. Both the source and the destination are containment-checked; refuses (false) if the destination already exists so a rename can never silently clobber another file.