MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SplitPathFileName

Function SplitPathFileName

Source/Internal/filesystem.cpp:821–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819}
820
821pair<string, string> SplitPathFileName(char* fullPath) {
822 string fP(fullPath);
823 return SplitPathFileName(fP);
824}
825
826pair<string, string> SplitPathFileName(string const& fullPath) {
827 size_t pos = fullPath.find_last_of("/\\");

Callers 9

GetLevelNameMethod · 0.85
SaveLevelMethod · 0.85
RibbonItemClickedMethod · 0.85
DrawObjectInfoFlatFunction · 0.85
DrawImGuiFunction · 0.85
CreateDirsFromPathFunction · 0.85
ClearCacheFunction · 0.85
GenerateParallelPathFunction · 0.85
CreateBackupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected