mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Virtual Tag: Undocumented, experimental support for 'LATEST'
This commit is contained in:
parent
86dc14823e
commit
ada6c24789
4 changed files with 12 additions and 2 deletions
|
@ -1287,6 +1287,13 @@ int TDB2::next_id ()
|
|||
return _id++;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Latest ID is that of the last pending task.
|
||||
int TDB2::latest_id ()
|
||||
{
|
||||
return _id - 1;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
const std::vector <Task> TDB2::all_tasks ()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue