FileSystem.createDir

Create a directory and subdirectories. This function succeeds if the directory already exists.

class FileSystem
bool
createDir
(
string path
,)

Parameters

path string

The paths of the directory.

recursive bool

Whether creating directory recursively or not.

Return Value

Type: bool

true on success, false if there was an error.