Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

[WIP] A framework for crafting interactions with Substrate chains
Latest
interface CopyOptions
import { type CopyOptions } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/std/fs.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.