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

Method invalidate_cached_info

src/TDB2.cpp:299–303  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

297
298////////////////////////////////////////////////////////////////////////////////
299void TDB2::invalidate_cached_info() {
300 _pending_tasks = std::nullopt;
301 _completed_tasks = std::nullopt;
302 _working_set = std::nullopt;
303}
304
305////////////////////////////////////////////////////////////////////////////////
306// Locate task by ID, wherever it is.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected