Skip to main content

Module task

Module task 

Source

Structs§

LiveTask
In-memory task with a lease timestamp for TTL tracking.
Task
A task on the board, persisted as NDJSON.

Enums§

TaskStatus
Status of a task on the board.

Functions§

load_tasks
Load tasks from an NDJSON file. Returns empty vec if the file does not exist.
next_id
Generate the next task ID from the current list.
save_tasks
Write all tasks to an NDJSON file (full rewrite).