mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-07 22:58:34 +02:00
Tree
- Added ::countTags method.
This commit is contained in:
parent
9cfd3e7d34
commit
d00c685699
2 changed files with 7 additions and 0 deletions
|
@ -190,6 +190,12 @@ void Tree::unTag (const std::string& tag)
|
|||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int Tree::countTags () const
|
||||
{
|
||||
return _tags.size ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int Tree::count () const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue