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

Function history_key

plugins/workflow.cpp:647–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645 ******************************/
646
647static std::string history_key(PersistentDataItem &config) {
648 return stl_sprintf("workflow/history/%d", -config.fake_df_id());
649}
650
651static ItemConstraint *get_constraint(color_ostream &out, const std::string &str, PersistentDataItem *cfg, bool create)
652{

Callers 1

get_constraintFunction · 0.85

Calls 2

stl_sprintfFunction · 0.85
fake_df_idMethod · 0.80

Tested by

no test coverage detected