Function todo_lib::todo::load

source ·
pub fn load(filename: &Path) -> Result<TaskVec, TodoError>
Expand description

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