MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / getDependencyIDs

Method getDependencyIDs

src/Task.cpp:1046–1055  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

1044
1045////////////////////////////////////////////////////////////////////////////////
1046std::vector<int> Task::getDependencyIDs() const {
1047 std::vector<int> ids;
1048 for (auto& attr : all()) {
1049 if (!isDepAttr(attr)) continue;
1050 auto dep = attr2Dep(attr);
1051 ids.push_back(Context::getContext().tdb2.id(dep));
1052 }
1053
1054 return ids;
1055}
1056
1057////////////////////////////////////////////////////////////////////////////////
1058std::vector<std::string> Task::getDependencyUUIDs() const {

Callers

nothing calls this directly

Calls 1

idMethod · 0.80

Tested by

no test coverage detected