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

x/sandbox/deps.ts>fs.CopyOptions

🦕 Create a temporary sandbox directory which is removed when the instance is disposed
Go to Latest
interface fs.CopyOptions
import { type fs } from "https://deno.land/x/sandbox@v1.1.0/deps.ts";
const { CopyOptions } = fs;

Properties

optional
overwrite: boolean

overwrite existing file or directory. Default is false

optional
preserveTimestamps: boolean

When true, will set last modification and access times to the ones of the original source files. When false, timestamp behavior is OS-dependent. Default is false.