Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dex/lib-dyn/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-dyn/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.