MCPcopy Create free account
hub / github.com/DFHack/dfhack / find

Method find

library/modules/Materials.cpp:161–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool MaterialInfo::find(const std::string& token)
162{
163 std::vector<std::string> items;
164 split_string(&items, token, ":");
165 return find(items);
166}
167
168bool MaterialInfo::find(const std::vector<std::string>& items)
169{

Callers

nothing calls this directly

Calls 5

split_stringFunction · 0.85
vector_getFunction · 0.85
findFunction · 0.50
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected