Skip to main content

system_temp_dirs

Function system_temp_dirs 

Source
pub fn system_temp_dirs() -> Vec<PathBuf>
Expand description

The system temp directories: std::env::temp_dir(), and on Unix also /tmp. The paths are not resolved. /var/tmp is not in the list: Linux keeps it across reboots, and people keep long-lived clones there.