CopyOptions

sealed external interface CopyOptions(source)

Properties

Link copied to clipboard

Optional. Whether to copy the source directory along with all the files. Only takes effect when recursive=true and copying a directory. Default is true

Link copied to clipboard
abstract var force: Boolean?

Optional. Whether to overwrite existing files in the destination. Defaults to true

Link copied to clipboard
abstract var recursive: Boolean?

Optional. Whether to recursively copy all subdirectories. Defaults to false