Skip to main content
CopyOptions - fs - Node documentation
interface CopyOptions

Usage in Deno

import { type CopyOptions } from "node:fs";

Methods

optional
filter(
source: string,
destination: string,
): boolean | Promise<boolean>

Function to filter copied files/directories. Return true to copy the item, false to ignore it.

Back to top