kotlin.io.createTempFile

createTempFile

fun createTempFile(
    prefix: String = "tmp", 
    suffix: String? = null, 
    directory: File? = null
): File

Platform and version requirements: JVM

Creates a new empty file in the specified directory, using the given prefix and 登录查看完整内容