Module env

Source

Functions§

override_temp_dir
Override the default temporary directory (defaults to std::env::temp_dir). This function changes the global default temporary directory for the entire program and should not be called except in exceptional cases where it’s not configured correctly by the platform.
temp_dir
Returns the default temporary directory, used for both temporary directories and files if no directory is explicitly specified.