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

Method suspensionDescription

plugins/suspendmanager.cpp:739–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737 }
738
739 std::string suspensionDescription (df::job *job) {
740 Reason reason;
741 if (tryGetReason(job,reason)) {
742 return reasonToString(reason);
743 }
744 return "not suspended by suspendmanager";
745 }
746
747 /**
748 * This is a proxy, since there is currently no (easy) way for C++ plugins

Callers 1

Calls 1

reasonToStringFunction · 0.85

Tested by

no test coverage detected