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

Function update_job_data

plugins/workflow.cpp:587–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587static void update_job_data(color_ostream &out)
588{
589 df::job_list_link *p = world->jobs.list.next;
590 for (; p; p = p->next)
591 {
592 ProtectedJob *pj = get_known(p->item->id);
593 if (!pj)
594 continue;
595 pj->update(p->item);
596 }
597}
598
599static void recover_jobs(color_ostream &out)
600{

Callers 2

update_data_structuresFunction · 0.85

Calls 2

get_knownFunction · 0.85
updateMethod · 0.80

Tested by

no test coverage detected