Skip to main content

delete_attachment

Function delete_attachment 

Source
pub fn delete_attachment(
    edit: &mut EditDoc<'_>,
    limits: &Limits,
    index: usize,
) -> Result<bool, Error>
Expand description

Removes attachment index from the name tree; Ok(false) when there is no such attachment.

ยงErrors

When the document has no catalog to hold the tree.