mkdir

abstract 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 file.

Throws

If the path points to an existing file.