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

Function SetTemporaryPath

Src/Environment.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32static String strProgPath;
33
34void SetTemporaryPath(const String& path)
35{
36 strTempPath = paths::AddTrailingSlash(paths::GetLongPath(path));
37 paths::CreateIfNeeded(strTempPath);
38}
39
40/**
41 * @brief Get folder for temporary files.

Callers 1

SetupTempPathMethod · 0.85

Calls 3

AddTrailingSlashFunction · 0.85
GetLongPathFunction · 0.85
CreateIfNeededFunction · 0.85

Tested by

no test coverage detected