Skip to main content
Module

x/lume/deps/fs.ts>CopyOptions

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface CopyOptions
import { type CopyOptions } from "https://deno.land/x/lume@v2.1.2/deps/fs.ts";

Options for copy and copySync.

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.