Skip to content

Filesystem accessopensavvy.prepared.compat.filesystem

Package-level declarations

Functions

createRandomDirectory


@ExperimentalPathApifun createRandomDirectory(prefix: String = ""): PreparedProvider<Path>

Creates a random directory, which is automatically deleted at the end of the test.

createRandomFile


fun createRandomFile(prefix: String = "", suffix: String = ""): PreparedProvider<Path>

Creates a random file, which is automatically deleted at the end of the test.

div


operator fun File.div(child: String): File

Accesses a file named child in the provided directory.