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

Method get_changes

src/TDB2.cpp:213–218  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

211
212////////////////////////////////////////////////////////////////////////////////
213void TDB2::get_changes(std::vector<Task>& changes) {
214 std::map<std::string, Task>& changes_map = this->changes;
215 changes.clear();
216 std::transform(changes_map.begin(), changes_map.end(), std::back_inserter(changes),
217 [](const auto& kv) { return kv.second; });
218}
219
220////////////////////////////////////////////////////////////////////////////////
221void TDB2::gc() {

Callers 1

onExitMethod · 0.80

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected