Skip to main content

extract_tasks

Function extract_tasks 

Source
pub fn extract_tasks(
    path: &Path,
    content: &str,
    mappings: &[(&str, &str)],
    max_tasks: usize,
) -> Vec<Task>
Expand description

Extract tasks from markdown content with a per-call warning budget.

Convenience wrapper around extract_tasks_with_counter that owns the counter for the duration of one call. Used by the unit-test suite and available to library callers that scope the invalid-timestamp warning cap per file. The production CLI (main.rs::scan_files) uses extract_tasks_with_counter directly so the cap spans the whole run.