Module

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

The next-gen web framework.
Extremely Popular
Latest
method Project.prototype.getDirectory
import { Project } from "https://dotland.deno.dev/x/fresh@1.7.1/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