Module tsk_rs::task

source ·
Expand description

Task abtsractions

Structs§

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

Enums§

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

Functions§

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