FileSystem.createDir

bool createDir(string path, bool recursive)

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

Parameters

pathThe paths of the directory.
recursiveWhether creating directory recursively or not.

Returns

true on success, false if there was an error.

Throws

[ErrorWrap]