deno.com

interface CopyOptionsBase

Properties #

#dereference: boolean
optional

Dereference symlinks

#errorOnExist: boolean
optional

When force is false, and the destination exists, throw an error.

#force: boolean
optional

Overwrite existing file or directory. _The copy operation will ignore errors if you set this to false and the destination exists. Use the errorOnExist option to change this behavior.

#mode: number
optional

Modifiers for copy operation. See mode flag of copyFileSync()

#preserveTimestamps: boolean
optional

When true timestamps from src will be preserved.

#recursive: boolean
optional

Copy directories recursively.