Skip to main content
Module

x/dax/src/deps.ts>fs.CopyOptions

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
interface fs.CopyOptions
import { type fs } from "https://deno.land/x/dax@0.39.2/src/deps.ts";
const { CopyOptions } = fs;

Options for copy and copySync.

Properties

optional
overwrite: boolean = false

overwrite existing file or directory.

optional
preserveTimestamps: boolean = false

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