Skip to main content
Extremely Popular
Go to Latest
method Project.prototype.getDirectoryOrThrow
import { Project } from "https://deno.land/x/fresh@1.1.4/src/dev/deps.ts";

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

Parameters

dirPath: string
  • Path to create the directory at.

Returns

Directory