copy

os.copy
object copy

Copy a file or folder from one path to another. Recursively copies folders with all their contents. 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
copy.type

Members list

Type members

Classlikes

object into

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

Copy 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

Copy a file into a particular path

Copy a file 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, followLinks: Boolean, replaceExisting: Boolean, copyAttributes: Boolean, createFolders: Boolean, mergeFolders: Boolean): Unit
def matching(followLinks: Boolean, replaceExisting: Boolean, copyAttributes: Boolean, createFolders: Boolean, mergeFolders: Boolean)(partialFunction: PartialFunction[Path, Path]): PartialFunction[Path, Unit]

Deprecated methods

def apply(from: Path, to: Path, followLinks: Boolean, replaceExisting: Boolean, copyAttributes: Boolean, createFolders: Boolean): Unit

This overload is only to keep binary compatibility with older os-lib versions.

This overload is only to keep binary compatibility with older os-lib versions.

Attributes

Deprecated
true