Skip to main content
Module

x/ts_morph/mod.ts>Directory#moveToDirectory

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

Moves the directory to a subdirectory of the specified directory.

Parameters

dirPathOrDirectory: string | Directory

Directory path or directory object to move the directory to.

optional
options: DirectoryMoveOptions

Options for moving.