import { createIfNotExistsSync } from "https://deno.land/x/fathym_common@v0.2.22-integration/src/common/path/createIfNotExists.ts";
Creates a directory if it doesn't exist (sync). If the directory already exists, no action is taken.
Examples
From path import
From path import
import { createIfNotExistsSync } from '@fathym/common/path';
createIfNotExistsSync('C:\\temp\\my-directory');
From common import
From common import
import { createIfNotExistsSync } from '@fathym/common';
createIfNotExistsSync('C:\\temp\\my-directory');