Skip to main content
Module

x/typeorm/src/util/fs.ts>ensureDir

Forked from https://github.com/typeorm/typeorm
Latest
function ensureDir
import { ensureDir } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/util/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

Returns

Promise<void>