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

createDirectoryIfNotExists

inline fun Path.createDirectoryIfNotExists(vararg fileAttributes: FileAttribute<*>): Path (source)

Delegates to createDirectory and swallows a potential java.nio.file.FileAlreadyExistsException.