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

x/ter/deps/std.ts>fs.CopyOptions

A tiny wiki-style site generator with Zettelkasten flavor.
Latest
interface fs.CopyOptions
import { type fs } from "https://deno.land/x/ter@0.15.57/deps/std.ts";
const { CopyOptions } = fs;

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.