Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fsrouter/deps.ts>fs.CopyOptions

A file system based router for Deno.
Latest
interface fs.CopyOptions
import { type fs } from "https://deno.land/x/fsrouter@3.1.0/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.