vertx / io.vertx.kotlin.core.file / CopyOptions

CopyOptions

fun CopyOptions(atomicMove: Boolean? = null, copyAttributes: Boolean? = null, nofollowLinks: Boolean? = null, replaceExisting: Boolean? = null): CopyOptions

A function providing a DSL for building io.vertx.core.file.CopyOptions objects.

Describes the copy (and move) options.

Parameters

atomicMove - Whether move should be performed as an atomic filesystem operation. Defaults to false.

copyAttributes - Whether the file attributes should be copied. Defaults to false.

nofollowLinks - Whether symbolic links should not be followed during copy or move operations. Defaults to false.

replaceExisting - Whether an existing file, empty directory, or link should be replaced. Defaults to false.