CopyOptions

final
class CopyOptions extends Serializable

The options for the copy operation in IO.

Value Params
overwrite

A source file is always copied if overwrite is true. If overwrite is false, the source is only copied if the target is missing or is older than the source file according to last modified times. If the source is a directory, the corresponding directory is created.

preserveExecutable

If true the executable properties are copied.

preserveLastModified

If true the last modified times are copied.

Companion
object
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def equals(o: Any): Boolean
Definition Classes
Any
override
def hashCode: Int
Definition Classes
Any
override
def toString: String
Definition Classes
Any
def withOverwrite(overwrite: Boolean): CopyOptions
def withPreserveExecutable(preserveExecutable: Boolean): CopyOptions
def withPreserveLastModified(preserveLastModified: Boolean): CopyOptions

Concrete fields

val overwrite: Boolean
val preserveExecutable: Boolean