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

Function start_protect

plugins/workflow.cpp:435–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433static ItemConstraint *get_constraint(color_ostream &out, const std::string &str, PersistentDataItem *cfg = NULL, bool create = true);
434
435static void start_protect(color_ostream &out)
436{
437 check_lost_jobs(out, 0);
438
439 if (!known_jobs.empty())
440 out.print("Protecting {} jobs.\n", known_jobs.size());
441}
442
443static void init_state(color_ostream &out)
444{

Callers 2

init_stateFunction · 0.85
enable_pluginFunction · 0.85

Calls 4

check_lost_jobsFunction · 0.85
emptyMethod · 0.45
printMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected