Skip to main content
Module

std/fs/mod.ts>CopyOptions

Deno standard library
Go to Latest
interface CopyOptions
import { type CopyOptions } from "https://deno.land/std@0.204.0/fs/mod.ts";

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.