///////////////////////////////////////////////////////////////////////////
| 1265 | |
| 1266 | //////////////////////////////////////////////////////////////////////////////// |
| 1267 | void Task::fixDependsAttribute() { |
| 1268 | // Fix up the old `depends` attribute to match the `dep_..` attributes (or |
| 1269 | // remove it if there are no deps) |
| 1270 | auto deps = getDependencyUUIDs(); |
| 1271 | if (deps.size() > 0) { |
| 1272 | set("depends", join(",", deps)); |
| 1273 | } else { |
| 1274 | remove("depends"); |
| 1275 | } |
| 1276 | } |
| 1277 | |
| 1278 | //////////////////////////////////////////////////////////////////////////////// |
| 1279 | bool Task::isDepAttr(const std::string& attr) { return attr.compare(0, 4, "dep_") == 0; } |
nothing calls this directly
no outgoing calls
no test coverage detected