CopyOptions

import { CopyOptions } from "jsr:@ende/fs";

interface

interface CopyOptions

Options for copy and copySync.

Properties

overwrite

overwrite?: boolean

Whether to overwrite existing file or directory.

Default: false

preserveTimestamps

preserveTimestamps?: boolean

When true, will set last modification and access times to the ones of the original source files. When false, timestamp behavior is OS-dependent.

Note

This option is currently unsupported for symbolic links.

Default: false

Source