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

x/fresh/tests/deps.ts>fs.CopyOptions

The next-gen web framework.
Extremely Popular
Go to Latest
interface fs.CopyOptions
import { type fs } from "https://deno.land/x/fresh@1.4.3/tests/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.