CopyOptions

external interface CopyOptions(source)

Properties

Link copied to clipboard
abstract external val copySourceDirectory: Boolean?

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 external val force: Boolean?

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

Link copied to clipboard
abstract external val recursive: Boolean?

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