Std.Env.temporaryDirectory
1 declaration
fn
temporaryDirectory: StrThis is a callable function.
What it does
Where this machine says a program may put a file it does not intend to keep.
The answer is the machine's, not the program's: it honours TMPDIR where
that is set, and names the system's own directory where it is not. A program
that writes /tmp directly has stated one machine's answer as though it
were every machine's, and will not run where that path does not exist.
The directory is where a file may go, not a file — a caller that needs one
joins a name it chose onto it, and one that may run twice at once chooses a
name that cannot collide.
Read the signature
- The text after the name is the type checked by Pudu.
