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

Function searchAbbreviations

plugins/seedwatch.cpp:363–367  ·  view source on GitHub ↗

searches abbreviations, returns expansion if so, returns original if not

Source from the content-addressed store, hash-verified

361
362// searches abbreviations, returns expansion if so, returns original if not
363static string searchAbbreviations(string in) {
364 if(abbreviations.count(in) > 0)
365 return abbreviations[in];
366 return in;
367};
368
369static void seedwatch_setTarget(color_ostream &out, string name, int32_t num) {
370 DEBUG(control,out).print("entering seedwatch_setTarget\n");

Callers 1

seedwatch_setTargetFunction · 0.85

Calls 1

countMethod · 0.45

Tested by

no test coverage detected