Skip to main content
Module

x/fresh/src/dev/deps.ts>Project#getDirectory

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