Function create_temp_file

Source
pub fn create_temp_file(ext: &str) -> String
Expand description

Creates a temporary file with the given extension.

Uses the TMP_DIR environment variable if set, otherwise falls back to /tmp. File names are prefixed with eorst_ for easy identification.