Package-level declarations

Contains contracts / data structures which help in dealing with file-IO.

Types

Link copied to clipboard
class Failure(path: Path, val exception: IOException) : IoResult<Nothing>
Link copied to clipboard
sealed class IoResult<out T>
Link copied to clipboard
class Success<out T>(path: Path, val value: T) : IoResult<T>

Functions

Link copied to clipboard
inline fun <T> Path.runCatchingIo(block: Path.() -> T): IoResult<T>

Executes the given block and catches IOExceptions.