Module util

Source
Expand description

Useful functions for manipulating todo lists.

These mostly operate on Vec<&Item>.

Functionsยง

find_items_by_context
Filter Vec<&Item> by an @context.
find_items_by_line_number
Filter Vec<&Item> by a #linenumber.
find_items_by_string
Filter Vec<&Item> by a string match.
find_items_by_tag
Filter Vec<&Item> by a +tag.
group_items_by_importance
Group a Vec<&Item> into categories based on task importance.
group_items_by_size
Group a Vec<&Item> into categories based on task size.
group_items_by_urgency
Group a Vec<&Item> into categories based on task urgency.
sort_items_by
Sort Vec<&Item> in a variety of ways.