Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

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.