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

Function process_constraints

plugins/workflow.cpp:1287–1296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1285}
1286
1287static void process_constraints(color_ostream &out)
1288{
1289 if (constraints.empty() &&
1290 !isOptionEnabled(CF_DRYBUCKETS | CF_AUTOMELT))
1291 return;
1292
1293 map_job_constraints(out);
1294 map_job_items(out);
1295 update_jobs_by_constraints(out);
1296}
1297
1298static void update_data_structures(color_ostream &out)
1299{

Callers 3

setConstraintFunction · 0.85
workflow_cmdFunction · 0.85

Calls 5

map_job_constraintsFunction · 0.85
map_job_itemsFunction · 0.85
isOptionEnabledFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected