DirectoryCreate
Last updated
Was this helpful?
Last updated
Was this helpful?
Creates a directory
path
string
true
The directory path to create
createPath
boolean
false
[true] Whether to create all paths necessary to create the directory path
true
ignoreExists
boolean
false
[false] Whether to ignore if a directory already exists
false
mode
string
false
When provided will attempt to set the posix permissions on the directory
Checking if a directory called 'icons' exists and then creating the directory if it does not exist.
Result: The directory 'icons' will be created under the img folder.