Skip to main content

replace_member

Function replace_member 

Source
pub fn replace_member(
    zip_bytes: &[u8],
    member: &str,
    content: &[u8],
) -> Result<Vec<u8>, CoreError>
Expand description

THE put primitive: replace the member’s content — or append it when absent (upsert: created if missing). Every other member, their order, and directory entries ride across untouched.