niok-android / ch.tutteli.niok / java.nio.file.Path / newDirectory

newDirectory

fun Path.newDirectory(dir: String, vararg fileAttributes: FileAttribute<*>): Path (source)

Resolve the given dir and calls createDirectory.