search for: user_cache_directory

Displaying 3 results from an estimated 3 matches for "user_cache_directory".

2015 Nov 19
2
[Path] RFC: Known directories
.... On Windows and OSX it returns user's temp directories as a first choice. system_temp_directory(false) returns a path to a directory that is not cleared on reboot. On Linux it is usually /var/tmp. On Windows is the same as system_temp_directory(true). On OSX it is user's cache directory. user_cache_directory() returns a path to user's cache directory. Redesign proposal: 1. Add function temp_directory() - a replacement for system_temp_directory(true). If it returns system or user temp directory is OS-specific. Same as system_temp_directory() it always succeed. 2. Implement system_temp_...
2015 Nov 23
1
[Path] RFC: Known directories
...he name: >>> >>> *_temp_* -> something that is one use and potentially deleted often >>> *_cache_* -> something we would like to save (modules for example). >>> >>> So what we gain is clarity over a bool parameter. >> >> We already have user_cache_directory, and it means something different >> than system_temp_directory(false) today. > > It was just added. My understanding was that the intention was for it > to have the correct semantics for things like clang modules. Maybe we > should > > * Rename user_cache_directory to just...
2015 Nov 23
1
[Path] RFC: Known directories
...I have a small preference for having the distinction in the name: > > *_temp_* -> something that is one use and potentially deleted often > *_cache_* -> something we would like to save (modules for example). > > So what we gain is clarity over a bool parameter. We already have user_cache_directory, and it means something different than system_temp_directory(false) today. ~Aaron