Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
5
using namespace std;
6
7
void GetNameWithoutExt(string & name)
8
{
9
string::size_type const i = name.rfind(
'.'
);
10
if (i != string::npos)
11
name.erase(i);
12
}
13
14
string FilenameWithoutExt(string name)
15
{
Callers
11
UnzipAndMatch
Function · 0.85
ForEachCountry
Function · 0.85
Parse
Method · 0.85
IsFileDownloaded
Function · 0.85
FilenameWithoutExt
Function · 0.85
GetNameFromFullPathWithoutExt
Function · 0.85
UNIT_TEST
Function · 0.85
RunFeaturesLoadingBenchmark
Function · 0.85
FindAllDiffsInDirectory
Function · 0.85
FindAllLocalMapsInDirectoryAndCleanup
Function · 0.85
MakeTemporary
Method · 0.85
Calls
1
erase
Method · 0.45
Tested by
2
Parse
Method · 0.68
UNIT_TEST
Function · 0.68