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

x/dtils/fs.ts>copyDir

The best unofficial library of utilities for Deno applications
Go to Latest
function copyDir
import { copyDir } from "https://deno.land/x/dtils@2.6.0/fs.ts";

Copy the contents of srcDirectory into destDirectory, optionally filtering with options.pathFilter. Symlinks are ignored.

Parameters

srcDirectory: string
destDirectory: string
optional
options: CopyDirOptions = [UNSUPPORTED]

Returns

Promise<void>