calternal_notes_core::tasks
Shared Task models, parsers and writers for Notes (#430, DESIGN §40).
Markdown stays authoritative. These modules expose byte-stable projections and Bases helpers so API and UI code can read and edit the same identities. Task models, extraction, and byte-preserving Markdown edits (#917; DESIGN §9). Re-export the shared Task API here. The projector reads the crate-private line parser directly; callers use the public extraction and edit helpers.
Source: crates/calternal-notes-core/src/tasks/mod.rs
Modules
Section titled “Modules”| Module | Summary |
|---|---|
model |
Task projection and write-input types for #430. |
base |
Lossless reader and canonical writer for Task view definitions in Views/*.base. |
status |
Project status rollup — rollup_status (spec §7, contract §5–§6). |
extract |
extract_task_index — the read-only Task and Checkbox projector for #430. |
frontmatter |
Byte-stable, line-scoped YAML frontmatter field reader + writer. |
build |
build_task_file + append_inbox_line — canonical Task Note writers. |
line |
Inline checkbox lines: read-only parser and the byte-stable status writer. |
Re-exports
Section titled “Re-exports”pub use tasks::model::TaskStatuspub use tasks::model::TaskKindpub use tasks::model::TaskIndexEntrypub use tasks::model::BuildTaskFileInputpub use tasks::model::TaskLinepub use base::MAX_TASK_BASE_BYTESpub use base::TaskBasepub use base::TaskBaseDocumentpub use base::TaskBaseViewpub use base::parse_task_basepub use base::serialize_task_basepub use status::rollup_statuspub use extract::extract_task_indexpub use extract::has_duplicate_task_idspub use extract::is_task_notepub use extract::set_task_bodypub use frontmatter::set_task_frontmatter_fieldpub use frontmatter::set_task_tagspub use build::append_inbox_linepub use build::build_task_filepub use line::TaskLinePatchpub use line::remove_task_linepub use line::set_task_line_propertiespub use line::set_task_line_statuspub use line::set_task_root_checkbox_statuspub use line::set_task_root_checkbox_titlepub use line::task_root_checkbox_status