MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / findFileStemIn

Function findFileStemIn

source/modes/MenuModeEditorLoad.cpp:125–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static bool findFileStemIn(const std::vector<std::string>& fileList, std::string filename)
126{
127 for (const std::string& file : fileList)
128 {
129 if (boost::filesystem::path(file).stem().string() ==
130 boost::filesystem::path(filename).stem().string())
131 return true;
132 }
133 return false;
134}
135
136bool MenuModeEditorLoad::updateFilesList(const CEGUI::EventArgs&)
137{

Callers 1

updateFilesListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected