Skip to main content

apply_edit

Function apply_edit 

Source
pub fn apply_edit(
    content: &str,
    edit: &EditSpec,
) -> Result<ApplyResult, ToolError>
Expand description

Apply a single edit spec to content. Returns either the new content + counts, or a structured ToolError.