Directory.makeDir

Create a directory. The argument can be relative to the current directory, or an absolute path. The target directory should be placed in an already existing directory (to create the full path recursively, see makeDirRecursive). The method returns one of the error code constants defined in @GlobalScope (OK, FAILED or ERR_*).

struct Directory
@nogc nothrow
GodotError
makeDir
(
StringArg0
)
(
in StringArg0 path
)

Meta