io.util #
fn temp_dir #
fn temp_dir(tdo TempFileOptions) ?string
temp_dir returns an uniquely named, writable, directory path
fn temp_file #
fn temp_file(tfo TempFileOptions) ?(os.File, string)
temp_file returns an uniquely named, open, writable, os.File
and it's path
struct TempDirOptions #
struct TempDirOptions {
path string = os.temp_dir()
pattern string
}
struct TempFileOptions #
struct TempFileOptions {
path string = os.temp_dir()
pattern string
}