Skip to main content

Module todo_io

Module todo_io 

Source
Expand description

File I/O for todo list (.todo.json). Same format as xtask so dev_shell and cargo xtask todo share data.

Mode P / guest-primary: paths stay on the host current directory (design §11 A); they are not mapped into the guest project tree.

Structs§

TodoDto

Functions§

list_from_todos
Build a TodoList from loaded todos (call after load_todos).
load_todos
Load todos from .todo.json in the current directory.
save_todos
Save todos to .todo.json in the current directory.
todo_file
Path to .todo.json in the current directory.