Skip to main content
Module

x/ts_morph/mod.ts>Directory#copyToDirectory

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method Directory.prototype.copyToDirectory
import { Directory } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Copies the directory to a subdirectory of the specified directory.

Parameters

dirPathOrDirectory: string | Directory

Directory path or directory object to copy the directory to.

optional
options: DirectoryCopyOptions

Options for copying.

Returns

The new copied directory.