Expand description
Task abtsractions
Structs§
- Task
- Task data abstraction as a Rust struct
- Time
Track - Time track entry holds information about a span of time while the task was/is being worked on.
Enums§
- Task
Error - Errors that can occure when working with a task and its metadata
- Task
Priority - 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