opensavvy.prepared.compat.filesystem¶
Functions¶
createRandomDirectory¶
@ExperimentalPathApi
fun 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.
Accesses a file named child in the provided directory.
@JvmName
(name = "childFile")operator fun PreparedProvider<File>.div(child: String): PreparedProvider<File>
Accesses a file named child in the provided directory.
@JvmName
(name = "childPath")operator fun PreparedProvider<Path>.div(child: String): PreparedProvider<Path>
Accesses a file named child in the provided directory.
Accesses a file named child in the provided directory.
Accesses a file named child in the provided directory.