createDir

open fun createDir(path: String, mustCreate: Boolean = false)

Create a directory (and any missing parent directories) at path.

Parameters

path

fully qualified path of the directory to create

mustCreate

if true, throws when the directory already exists