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

Method is_ready

src/Task.cpp:358–361  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// Ready means pending, not blocked and either not scheduled or scheduled before now.

Source from the content-addressed store, hash-verified

356// Ready means pending, not blocked and either not scheduled or scheduled before
357// now.
358bool Task::is_ready() const {
359 return getStatus() == Task::pending && !is_blocked &&
360 (!has("scheduled") || Datetime("now").operator>(get_date("scheduled")));
361}
362
363////////////////////////////////////////////////////////////////////////////////
364bool Task::is_due() const {

Callers

nothing calls this directly

Calls 1

operator>Method · 0.45

Tested by

no test coverage detected