MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / PathFirstFolder

Function PathFirstFolder

engine/Poseidon/IO/ParamFileExt.cpp:252–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252static RString PathFirstFolder(const char* path)
253{
254 const char* next = strchr(path, '/');
255 if (!next)
256 {
257 return "";
258 }
259 return RString(path, next - path);
260}
261
262} // namespace Poseidon
263

Callers 1

FindConfigParamEntryFunction · 0.70

Calls 1

RStringClass · 0.50

Tested by

no test coverage detected