Module

x/ts_morph/ts_morph.d.ts>Directory#copyToDirectory

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method Directory.prototype.copyToDirectory
import { Directory } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.d.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.