createNodeJsTempDirectory
fun TempDirectory.Companion.createNodeJsTempDirectory(block: NodeDirectoryConfig.() -> Unit = {}): TempDirectory<String>(source)
Creates a temporary directory on the file system with NodeJS-specific configuration block.
This implementation is based on the use of synchronous NodeJS FileSystem functions from node:fs
module.
TempDirectory.root property represents a real path of the temp directory.
See also
Throws
on errors during directory creation.