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

Function GetTempChildPath

Src/Environment.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88String GetTempChildPath()
89{
90 String path;
91 do
92 {
93 path = paths::ConcatPath(GetTemporaryPath(), strutils::format(_T("%08x"), rand()));
94 } while (paths::IsDirectory(path) || !paths::CreateIfNeeded(path));
95 return path;
96}
97
98void SetProgPath(const String& path)
99{

Callers 5

CreateMethod · 0.85
DecompressArchiveFunction · 0.85
FilterFilesFunction · 0.85

Calls 5

ConcatPathFunction · 0.85
GetTemporaryPathFunction · 0.85
IsDirectoryFunction · 0.85
CreateIfNeededFunction · 0.85
formatFunction · 0.50

Tested by

no test coverage detected