tempfile

Module env

Source

Functions§

  • 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.
  • Returns the default temporary directory, used for both temporary directories and files if no directory is explicitly specified.