Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ isOptionEnabled
Function
isOptionEnabled
plugins/workflow.cpp:388–391 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
386
}
387
388
static bool isOptionEnabled(unsigned flag)
389
{
390
return config.isValid() && (config.ival(0) & flag) != 0;
391
}
392
393
static void setOptionEnabled(ConfigFlags flag, bool on)
394
{
Callers
6
init_state
Function · 0.70
map_job_items
Function · 0.70
update_jobs_by_constraints
Function · 0.70
process_constraints
Function · 0.70
print_job
Function · 0.70
workflow_cmd
Function · 0.70
Calls
2
ival
Method · 0.80
isValid
Method · 0.45
Tested by
no test coverage detected