Skip to main content

@std/fs@1.0.13
Built and signed on GitHub Actions

Helpers for working with the file system

This package works with Deno
This package works with Deno
JSR Score
94%
Published
4 days ago (1.0.13)
interface CopyOptions

Options for copy and copySync.

Properties

optional
overwrite: boolean = false

Whether to 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.

Note

This option is currently unsupported for symbolic links.

Add Package

deno add jsr:@std/fs

Import symbol

import { type CopyOptions } from "@std/fs/copy";

---- OR ----

Import directly with a jsr specifier

import { type CopyOptions } from "jsr:@std/fs/copy";