move

object move

Moves a file or folder from one path to another. Errors out if the destination path already exists, or is within the source path.

class Object
trait Matchable
class Any
move.type

Type members

Classlikes

object into

Move a file into a particular folder, rather than into a particular path

Move a file into a particular folder, rather than into a particular path

object over

Move a file into a particular folder, rather than into a particular path

Move a file into a particular folder, rather than into a particular path

Value members

Concrete methods

def apply(from: Path, to: Path, replaceExisting: Boolean, atomicMove: Boolean, createFolders: Boolean): Unit
def matching(replaceExisting: Boolean, atomicMove: Boolean, createFolders: Boolean)(partialFunction: PartialFunction[Path, Path]): PartialFunction[Path, Unit]