MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / TrimPathComponents

Function TrimPathComponents

src/windows/CrashDebugger.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84std::vector<LoadedModule> g_loadedModules;
85
86const char* TrimPathComponents(const char* path)
87{
88 const char* ptr1, *ptr = path;
89 while ((ptr1 = strchr(ptr, '\\')) || (ptr1 = strchr(ptr, '/'))) {
90 ptr = ptr1 + 1;
91 }
92 return ptr;
93}
94
95void AddFoundModule(const char* name)
96{

Callers 2

ResolveNameFunction · 0.85
SetupCrashDebuggingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected