Skip to main content
Module

std/fs/mod.ts>CopyOptions

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface CopyOptions
import { type CopyOptions } from "https://deno.land/std@v0.38.0/fs/mod.ts";

Properties

optional
overwrite: boolean

overwrite existing file or directory. Default is false

optional
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. Default is false.