mkdir

abstract fun mkdir(path: String): Path

Creates an empty directory at the given path.

Return

Path to the created directory.

Parameters

path

Relative path at which the directory will be created.

If this path includes subdirectories, those subdirectories will be created if they do not already exist.