Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface fs.CopyOptions
import { type fs } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/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.