Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Project.prototype.getDirectory
import { Project } from "https://deno.land/x/fresh_testing_library@0.13.0/deps/ts_morph.ts";

Gets a directory by the specified path or returns undefined if it doesn't exist.

Parameters

dirPath: string
  • Directory path.

Returns

Directory | undefined