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

Function _store_text_db

crawl-ref/source/database.cc:555–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553}
554
555static void _store_text_db(const string &in, DBM *db)
556{
557 UTF8FileLineInput inf(in.c_str());
558 if (inf.error())
559 end(1, true, "Unable to open input file: %s", in.c_str());
560
561 _parse_text_db(inf, db);
562}
563
564static string _chooseStrByWeight(const string &entry, int fixed_weight = -1)
565{

Callers 1

_regenerate_dbMethod · 0.85

Calls 3

endFunction · 0.85
_parse_text_dbFunction · 0.85
errorMethod · 0.45

Tested by

no test coverage detected