move

os.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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
move.type

Members list

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
into.type
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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
over.type

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]