createDirectory

abstract fun createDirectory(dir: <Error class: unknown class>, mustCreate: Boolean = false)

It will make sure the given dir gets created on the file system

Parameters

mustCreate

whether it is certain that dir doesn't exist and will need to be created