Skip to main content
CopyOptionsBase - node__fs.d.ts - Node documentation
interface CopyOptionsBase

Usage in Deno

```typescript import { type CopyOptionsBase } from "node:node__fs.d.ts"; ```

Properties

optional
dereference: boolean
Dereference symlinks
optional
errorOnExist: boolean
When `force` is `false`, and the destination exists, throw an error.
optional
force: 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
mode: number
Modifiers for copy operation. See `mode` flag of copyFileSync()
optional
preserveTimestamps: boolean
When `true` timestamps from `src` will be preserved.
optional
recursive: boolean
Copy directories recursively.