MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / getBaseName

Method getBaseName

src/GameData.cpp:134–138  ·  view source on GitHub ↗

returns the boost::filesystem stem of our path - e.g. for "/foo/bar.rom" returns "bar"

Source from the content-addressed store, hash-verified

132
133//returns the boost::filesystem stem of our path - e.g. for "/foo/bar.rom" returns "bar"
134std::string GameData::getBaseName() const
135{
136 boost::filesystem::path path(mPath);
137 return path.stem().string();
138}

Callers 1

launchGameMethod · 0.80

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected