Module todo_lib::todo

source ·

Structs§

  • The list of changes to apply to all records in a list. All operations with text are case insensitive, so if you, e.g., try to replace a project projectone to ProjectOne no todo is updated

Enums§

  • Type of operation applied to todo properties. Every field supports its own set of operations (except None that can be used for all of them):

Constants§

Functions§

  • Appends a new todo to todo list
  • Appends todos to a file. If file does not exist it is created.
  • Makes a clones of selected todos
  • Marks todos completed.
  • Modifies existing todos.
  • Returns if the tag needs special processing. All ‘special’ tags cannot be changed via ‘update_tags’ function because they usually requires running some extra operations on the data after a change (e.g, update internal fields in addition to updating the tag HashMap).
  • Load a list of todo from a file in todo.txt format. If the file does not exist or cannot be opened the function returns empty list
  • Removes todos from the list
  • Saves the list of todos into a local file. Returns an error if saving fails.
  • Starts timers of all toods that are not done
  • Stops timers of all toods that are running
  • Removes flag done from todos.

Type Aliases§