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

x/path/mod.ts>Path#mkDirSync

better path handling for Deno
Latest
method Path.prototype.mkDirSync
Re-export
import { Path } from "https://deno.land/x/path@v3.0.0/mod.ts";

create the specified path if parents is true any needed paths will be created

Parameters

optional
parents: boolean = [UNSUPPORTED]

the desired path

Returns

boolean

true on success and false on failure