mkdir

Creates a directory on path. If recursive is true, then intermediate directories are also created. Returns true if directory is created successfully.

common
fun mkdir(path: String, recursive: Boolean): Boolean
fun mkdir(path: String, recursive: Boolean): Boolean
fun mkdir(pathComponent: PathComponent, recursive: Boolean): Boolean
fun mkdir(path: String, recursive: Boolean): Boolean
fun mkdir(pathComponent: PathComponent, recursive: Boolean): Boolean

Creates a directory on pathComponent. If recursive is true, then intermediate directories are also created. Returns true if directory is created successfully.

common
fun mkdir(pathComponent: PathComponent, recursive: Boolean): Boolean