File
#func File(): strMakes an empty file named salam- plus 16 random hex digits and .tmp in the system temporary directory, sets its permissions to 600 and returns its path. It returns the path even when creation failed.
import os
import os.temp
func main:
p := temp.File()
println os.Exists(p)
temp.Remove(p)
println os.Exists(p)
d := temp.Directory()
println os.IsDir(d)
temp.RemoveDir(d)
println os.Exists(d)
endtrue false true false