doc / ch.tutteli.atrium.logic.creating.filesystem / java.nio.file.Path

Extensions for java.nio.file.Path

runCatchingIo

fun <T> Path.runCatchingIo(block: Path.() -> T): IoResult<T>

Executes the given block and catches IOExceptions.