MCPcopy Create free account
hub / github.com/beefytech/Beef / GetFileNameWithoutExtension

Method GetFileNameWithoutExtension

BeefFuzz/BeefFuzz.h:116–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 static void GetFileNameWithoutExtension(const String& filePath, String& outFileName)
117 {
118 outFileName += GetFileName(filePath);
119 int dot = (int)outFileName.LastIndexOf('.');
120 if (dot != -1)
121 outFileName.RemoveToEnd(dot);
122 }
123
124 static void GetExtension(const String& filePath, String& ext)
125 {

Callers

nothing calls this directly

Calls 2

LastIndexOfMethod · 0.45
RemoveToEndMethod · 0.45

Tested by

no test coverage detected