MCPcopy Create free account
hub / github.com/comaps/comaps / GetNameWithoutExt

Function GetNameWithoutExt

libs/base/file_name_utils.cpp:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5using namespace std;
6
7void GetNameWithoutExt(string & name)
8{
9 string::size_type const i = name.rfind('.');
10 if (i != string::npos)
11 name.erase(i);
12}
13
14string FilenameWithoutExt(string name)
15{

Callers 11

UnzipAndMatchFunction · 0.85
ForEachCountryFunction · 0.85
ParseMethod · 0.85
IsFileDownloadedFunction · 0.85
FilenameWithoutExtFunction · 0.85
UNIT_TESTFunction · 0.85
FindAllDiffsInDirectoryFunction · 0.85
MakeTemporaryMethod · 0.85

Calls 1

eraseMethod · 0.45

Tested by 2

ParseMethod · 0.68
UNIT_TESTFunction · 0.68