IOA.createDir

Creates the specified folder. If needed, creates all the folders necessary to complete the path.

IOA.createDir(path);

Arguments

path. (string) The absolute path of the folder.

Return value

A promise that will be fulfilled with no arguments.

Example

Copy code
IOA.createDir(TC.outputDir + "mydir").then(function(){
  TCA.done();
}).catch(function (error) {
  TCA.doneWithError(error);
});