search for: temp_directory

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

2015 Nov 19
2
[Path] RFC: Known directories
Hi, llvm::sys::path allows the user to query "known directory" paths: temp, cache, home. I was tweaking this area a bit for some time. I would like to propose a small redesign. What we have so far? home_directory() tries to return what it promises. No issues with that. system_temp_directory(true) returns a path to a directory that can be erased on reboot. On Linux it is usually /tmp. 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...
2015 Nov 23
1
[Path] RFC: Known directories
...dola <rafael.espindola at gmail.com> wrote: > On 23 November 2015 at 15:11, Aaron Ballman <aaron.ballman at gmail.com> wrote: >> On Mon, Nov 23, 2015 at 3:07 PM, Rafael EspĂ­ndola >> <rafael.espindola at gmail.com> wrote: >>>> We appear to use both system_temp_directory(true) and >>>> system_temp_directory(false) in ways that seem like they could matter. >>>> For instance, modules uses a temp directory that does not get erased >>>> on reboot, possibly for performance reasons. Do we gain something from >>>> deprecatin...
2015 Nov 23
1
[Path] RFC: Known directories
On Mon, Nov 23, 2015 at 3:07 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote: >> We appear to use both system_temp_directory(true) and >> system_temp_directory(false) in ways that seem like they could matter. >> For instance, modules uses a temp directory that does not get erased >> on reboot, possibly for performance reasons. Do we gain something from >> deprecating system_temp_directory()? >...