Skip to main content
Module

x/scaffold/src/deps/fs.ts>ensureDir

scaffold your next project with style and 💗
Latest
function ensureDir
Re-export
import { ensureDir } from "https://deno.land/x/scaffold@0.3.0/src/deps/fs.ts";

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Parameters

dir: string