Skip to main content
The Deno 2 Release Candidate is here
Learn more
function EnsureDir
Re-export
import { EnsureDir } from "https://deno.land/x/macromania_assets@v0.2.0/deps.ts";

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p.

See https://deno.land/std@0.63.0/fs/mod.ts?s=ensureDir

Parameters

unnamed 0: { path: string; }

Returns

The empty string.