MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / getFilenameExt

Function getFilenameExt

highs/io/HighsIO.cpp:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255std::string getFilenameExt(const std::string& filename) {
256 std::string name = filename;
257 std::size_t found = name.find_last_of(".");
258 if (found < name.size()) {
259 name = name.substr(found + 1);
260 } else {
261 name = "";
262 }
263 return name;
264}
265
266void highsReportDevInfo(const HighsLogOptions* log_options,
267 const std::string& line) {

Callers 2

getFilereaderMethod · 0.85
getFileTypeFunction · 0.85

Calls 2

substrMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected