move

fun move(source: String, target: String)

Moves the file or directory tree at source to target (both relative to the working directory, or absolute), creating missing parent directories of target.

Throws

okio.IOException

if source does not exist