Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dex/lib/util/fs.js>ensureDirectoryExists

Dex: An SQL query builder port of Knex for Deno
Latest
function ensureDirectoryExists
import { ensureDirectoryExists } from "https://deno.land/x/dex@1.0.2/lib/util/fs.js";

Ensures the given path exists.

  • If the path already exist, it's fine - it does nothing.
  • If the path doesn't exist, it will create it.