MCPcopy Create free account
hub / github.com/OpenKneeboard/OpenKneeboard / GetCrashFilePath

Method GetCrashFilePath

src/lib/fatal.cpp:161–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 }
160
161 std::filesystem::path GetCrashFilePath(std::wstring_view extension) {
162 return Filesystem::GetCrashLogsDirectory()
163 / std::format(
164 L"{}-crash-{:%Y%m%dT%H%M%S}-{}.{}",
165 mModulePath.stem(),
166 mNow,
167 mPID,
168 extension);
169 }
170
171 unique_hmodule mDbgHelp;
172 decltype(&MiniDumpWriteDump) mMiniDumpWriteDump {nullptr};

Callers

nothing calls this directly

Calls 1

GetCrashLogsDirectoryFunction · 0.85

Tested by

no test coverage detected