Skip to main content

materialize_entry

Function materialize_entry 

pub fn materialize_entry(
    doc: &mut AutoCommit,
    id: &HistoryEntryId,
) -> Result<Option<DocSnapshot>, DocError>
Expand description

Materialize a committed tilo-doc history entry without committing live edits. An ID from another document returns Ok(None).

ยงErrors

Returns the tilo-doc error if the selected version cannot be materialized.