Module task

Module task 

Source
Expand description

Task abtsractions

Structs§

Task
Task data abstraction as a Rust struct
TimeTrack
Time track entry holds information about a span of time while the task was/is being worked on.

Enums§

TaskError
Errors that can occure when working with a task and its metadata
TaskPriority
Available priorities for a task Each priority level has an different effect to the overall urgency level calculations

Functions§

amount_of_tasks
Load all tasks and return the sum of tasks.
complete_task
Mark the task completed, load & save the file on disk
list_tasks
List all tasks that match an optional search criteria
load_task
Load task from file, identified by id
new_task
Create a new task
save_task
Save task to disk, identified by the id in its metadata
start_task
Start tracking the task, load & save the file on disk
stop_task
Stop tracking the task, load & save the file on disk
task_pathbuf_from_id
Construct a taskbuf that points to YAML file on disk where filename is the id
task_pathbuf_from_task
Construct a taskbuf that points to YAML file on disk where the id is pulled from Task metadata