Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
|
|
@ -1,14 +1,8 @@
|
|||
// version 1.1.2
|
||||
import kotlin.io.path.createTempFile
|
||||
import kotlin.io.path.deleteExisting
|
||||
|
||||
import java.io.File
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
try {
|
||||
val tf = File.createTempFile("temp", ".tmp")
|
||||
println(tf.absolutePath)
|
||||
tf.delete()
|
||||
}
|
||||
catch (ex: Exception) {
|
||||
println(ex.message)
|
||||
}
|
||||
fun main() {
|
||||
val tempFilePath = createTempFile("example", ".tmp")
|
||||
println("Temporary file created: $tempFilePath")
|
||||
tempFilePath.deleteExisting()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue