Top
image credit: Unsplash

Kotlin 1.8.0 adds recursive copy, delete for directories

January 12, 2023

Via: InfoWorld

Kotlin 1.8.0, an upgrade to the JetBrains-developed, statically typed language for multiplatform mobile, web, and native development, is now available as a production release. The new version introduces experimental functions for recursively copying or deleting directory content on the JVM.

The standard library in Kotlin 1.8.0 adds new experimental functions for java.nio.file.path that can recursively copy or delete directory content. Experimental functionality also has been added to TimeMarks, allowing elapseNow to read from multiple TimeMarks simultaneously. Opt-in is required for both sets of new functionality. Kotlin 1.8.0 also stabilizes extension functions for working with Optional classes in Java.

Read More on InfoWorld