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

Function getLongDescKeysByRegex

crawl-ref/source/database.cc:794–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794vector<string> getLongDescKeysByRegex(const string &regex,
795 db_find_filter filter)
796{
797 if (!DescriptionDB.get())
798 {
799 vector<string> empty;
800 return empty;
801 }
802
803 // FIXME: need to match regex against translated keys, which can't
804 // be done by db only.
805 return _database_find_keys(DescriptionDB.get(), regex, true, filter);
806}
807
808vector<string> getLongDescBodiesByRegex(const string &regex,
809 db_find_filter filter)

Callers 1

get_desc_keysMethod · 0.85

Calls 2

_database_find_keysFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected