MCPcopy Create free account
hub / github.com/WinMerge/winmerge / GetSystemTempPath

Function GetSystemTempPath

Src/Environment.cpp:170–180  ·  view source on GitHub ↗

* @brief Get system temporary directory. * @return System temporary director. */

Source from the content-addressed store, hash-verified

168 * @return System temporary director.
169 */
170String GetSystemTempPath()
171{
172 try
173 {
174 return ucr::toTString(Path::temp());
175 }
176 catch (...)
177 {
178 return _T("");
179 }
180}
181
182static bool launchProgram(const String& sCmd, WORD wShowWindow)
183{

Callers 2

SetupTempPathMethod · 0.85
GetTemporaryPathFunction · 0.85

Calls 1

toTStringFunction · 0.85

Tested by

no test coverage detected