mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tc_task_has_tag
This commit is contained in:
parent
03ffb6ce83
commit
f2b3e5fd0a
3 changed files with 39 additions and 4 deletions
|
@ -269,6 +269,12 @@ struct TCString *tc_task_get_description(struct TCTask *task);
|
|||
*/
|
||||
bool tc_task_is_active(struct TCTask *task);
|
||||
|
||||
/**
|
||||
* Check if a task has the given tag. If the tag is invalid, this function will simply return
|
||||
* false with no error from `tc_task_error`. The given tag must not be NULL.
|
||||
*/
|
||||
bool tc_task_has_tag(struct TCTask *task, struct TCString *tag);
|
||||
|
||||
/**
|
||||
* Set a mutable task's status.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue