Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.1.5/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