MCPcopy Create free account
hub / github.com/crawl/crawl / getHelpString

Function getHelpString

crawl-ref/source/database.cc:876–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874// Help DB specific functions.
875
876string getHelpString(const string &topic)
877{
878 string help = _query_database(HelpDB, topic, false, true);
879 if (help.empty())
880 help = "Error! The help for \"" + topic + "\" is missing!";
881 return help;
882}
883
884/////////////////////////////////////////////////////////////////////////////
885// FAQ DB specific functions.

Callers 2

show_specific_helpsFunction · 0.85
show_spell_library_helpFunction · 0.85

Calls 2

_query_databaseFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected