Skip to main content

deed

Function deed 

Source
pub fn deed(
    layout: &Layout,
    id: &str,
    add: &[String],
    remove: &[String],
) -> Result<String>
Expand description

Cite, drop, or list the deeds an issue’s work produced.

A claim says who is working and a note says what happened; neither says what the work made, so the next unit had to reread a transcript to find out. A deed is deedar’s name for the product, and the accession is the whole handoff: deedar get <id> returns the frozen record, deedar trail <id> walks what it was built from. The tracker stores the id and nothing else, because the deed store owns the bytes and duplicating them here would give the corpus a second copy to drift.

With neither add nor remove, this reads: the citations on the heading, in the order they were cited.

§Errors

Returns an error if id is not in the corpus, an added value is not a deed accession, or the file cannot be rewritten.