Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fresh/tests/deps.ts>Project#getDirectory

The next-gen web framework.
Extremely Popular
Latest
method Project.prototype.getDirectory
import { Project } from "https://deno.land/x/fresh@1.7.2/tests/deps.ts";

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

Parameters

dirPath: string
  • Directory path.

Returns

Directory | undefined