This function creates a new directory a. All required directories of the path are created. Directories are also created in a mapping test.
The function returns "true" if successful. If the directory already exists, it is not created again and the return value is "false".
Parameters
Parameter | Description |
|---|---|
a | Name of the directory to be created. |
Examples
Parameter a | Result |
|---|---|
./conf/customers/mycustomer | Created directory ./conf/customers/mycustomer. Return value "true". |
./conf/customers/mycustomer | No directory created, because it already exists after the first call of the function. Return value "false". |
mycustomer | Created directory ./mycustomer (i.e. below the installation directory). Return value "true". |