Filesystem access • opensavvy.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
Accesses a file named child in the provided directory.