TemporaryDirectory
constructor(prefix: String? = null, parent: File = File(checkNotNull(System.getProperty("java.io.tmpdir")) { "java.io.tmpdir is not set" }))(source)
Parameters
prefix
An optional label placed before the unique name, such as a test name, to identify leftover directories. It must be nonempty and must not contain a path separator.
parent
The directory to create it in; defaults to java.io.tmpdir.