mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
TDB2
- Added TDB2::clear and TF2::clear methods.
This commit is contained in:
parent
8ec130d3c0
commit
0f627bd44e
3 changed files with 42 additions and 0 deletions
|
@ -97,6 +97,12 @@ int main (int argc, char** argv)
|
|||
t.is ((int) backlog.size (), 2, "TDB2 after add, 2 backlog task");
|
||||
t.is ((int) synch_key.size (), 0, "TDB2 after add, 0 synch_key");
|
||||
|
||||
context.tdb2.commit ();
|
||||
|
||||
// Reset for reuse.
|
||||
context.tdb2.clear ();
|
||||
context.tdb2.set_location (".");
|
||||
|
||||
// TODO commit
|
||||
// TODO complete a task
|
||||
// TODO gc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue