moveFile

Moves the file from srcPath to destPath. If srcPath is a directory, its contents including hidden files are moved. Returns true if the move is successful, otherwise false.

common
fun moveFile(srcPath: String, destPath: String): Boolean
fun moveFile(srcPath: String, destPath: String): Boolean
fun moveFile(srcPathComponent: PathComponent, destPathComponent: PathComponent): Boolean
fun moveFile(srcPath: String, destPath: String): Boolean
fun moveFile(srcPathComponent: PathComponent, destPathComponent: PathComponent): Boolean

Moves the file from srcPathComponent to destPathComponent. If srcPathComponent is a directory, its contents including hidden files are moved. Returns true if the move is successful, otherwise false.

common
fun moveFile(srcPathComponent: PathComponent, destPathComponent: PathComponent): Boolean