interface CopyOptionsBase
Properties Jump to heading
optional
Jump to headingdereference: boolean
Dereference symlinks
optional
Jump to headingerrorOnExist: boolean
When force
is false
, and the destination
exists, throw an error.
optional
Jump to headingforce: boolean
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.
optional
Jump to headingmode: number
Modifiers for copy operation. See mode
flag of copyFileSync()
optional
Jump to headingpreserveTimestamps: boolean
When true
timestamps from src
will
be preserved.
optional
Jump to headingrecursive: boolean
Copy directories recursively.
optional
Jump to headingverbatimSymlinks: boolean
When true, path resolution for symlinks will be skipped