ammonite.ops
Alias for java.nio.file.Files.createTempFile and java.io.File.deleteOnExit. Pass in deleteOnExit = false if you want the temp file to stick around.
java.nio.file.Files.createTempFile
java.io.File.deleteOnExit
deleteOnExit = false
Creates a temporary file with the provided contents
Creates a temporary directory
Alias for
java.nio.file.Files.createTempFile
andjava.io.File.deleteOnExit
. Pass indeleteOnExit = false
if you want the temp file to stick around.