Skip to main content

find_task_index

Function find_task_index 

Source
fn find_task_index(
    tasks: &[Task],
    project_name: &str,
    stated: &TaskId,
) -> Result<usize, IdError>
Expand description

Resolve a caller-stated id against a project’s live rows: an exact id, or a unique prefix of one, since a caller is often handed the short form a person writes.