Skip to main content
Module

x/ts_morph/mod.ts>Directory#copy

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

Copies the directory to a new directory.

Parameters

relativeOrAbsolutePath: string
  • The relative or absolute path to the new directory.
optional
options: DirectoryCopyOptions
  • Options.

Returns

The directory the copy was made to.