mkdir

fun mkdir(path: Any): File(source)

Creates a directory and returns a file pointing to it.

Return

The created directory.

Parameters

path

The path for the directory to be created. Evaluated as per KotlinInitScript.file.

Throws

InvalidUserDataException

If the path points to an existing file.