Skip to main content

Module task_archive

Module task_archive 

Source
Expand description

Durable archive: task rows whose tree has closed.

Append-only, and never read by the live board - the retro and any history view read here. Rows leave only when their project is deleted.

Re-exportsยง

use anyhow::Context; ๐Ÿ”’
use forge_primitives::tasks::Task; ๐Ÿ”’
use redb::ReadableTable; ๐Ÿ”’
use redb::TableDefinition; ๐Ÿ”’
use super::Db; ๐Ÿ”’

Constantsยง

TASK_ARCHIVE ๐Ÿ”’

Functionsยง

append
Append tasks; never rewrites what is there.
list_for_project
projectโ€™s archived rows.
row_key ๐Ÿ”’
The row key for task: its project as well as its id.