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

Method remove

src/Task.cpp:288–292  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

286
287////////////////////////////////////////////////////////////////////////////////
288void Task::remove(const std::string& name) {
289 if (data.erase(name)) recalc_urgency = true;
290
291 if (isAnnotationAttr(name)) --annotation_count;
292}
293
294////////////////////////////////////////////////////////////////////////////////
295Task::status Task::getStatus() const {

Callers 5

handleRecurrenceFunction · 0.45
executeMethod · 0.45
parseTaskMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected