Open cryptoquick opened 2 years ago
It would be useful to have a cross-platform way to get the tmp directory. On Mac and Linux, this should return the /tmp directory, on Windows it's held within the TEMP environment variable.
/tmp
This should respect the $TMPDIR environment variable on POSIX systems.
$TMPDIR
Older discussion: https://github.com/dirs-dev/directories-rs/issues/43
It would be useful to have a cross-platform way to get the tmp directory. On Mac and Linux, this should return the
/tmp
directory, on Windows it's held within the TEMP environment variable.