Skip to main content

write_back

Function write_back 

Source
pub fn write_back(session: &mut Session) -> Result<(), Error>
Expand description

Put the session’s content file back into its container, and count it.

Unrecognised members survive, which Repack already guarantees and SPEC 3 requires. The content file keeps the name the session recorded, so a container whose content.file says one thing does not quietly acquire another.

§Errors

See Error. In every variant the original container is untouched.