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

Function StripPboExtension

apps/tools/Tools/commands/MineCommand.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63std::string StripPboExtension(const std::string& path)
64{
65 if (EndsWithInsensitive(path, ".pbo"))
66 return path.substr(0, path.size() - 4);
67 return path;
68}
69
70bool IsConfigLikeExtension(const std::string& ext)
71{

Callers 7

ReadPboEntryFunction · 0.70
DebinarizePboConfigFunction · 0.70
CollectPboItemsFunction · 0.70
GetDefaultOutputDirMethod · 0.70
ListMethod · 0.70
ShowMethod · 0.70
ExtractMethod · 0.70

Calls 2

EndsWithInsensitiveFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected