Skip to main content

remove_entry

Function remove_entry 

Source
pub fn remove_entry(
    input: &str,
    path: &[PathSegment],
) -> Result<VerifiedEdit, EditError>
Expand description

Remove the block entry at path, verifying both the resulting value tree and event stream before returning.

ยงErrors

Returns EditError if the input fails to parse, path cannot be found, the entry has no exact removal span or uses an unsupported construct, or post-edit verification fails.