Skip to main content

apply_update_chunks

Function apply_update_chunks 

Source
pub fn apply_update_chunks(
    original_content: &str,
    file_path: &str,
    chunks: &[UpdateFileChunk],
) -> Result<String, String>
Expand description

Apply parsed update chunks to original file content, returning the patched text or an error string.