Skip to main content

write_bundle_atomic

Function write_bundle_atomic 

Source
pub fn write_bundle_atomic(path: &Path, bytes: &[u8]) -> Result<(), String>
Expand description

Durable replacement: readers see either complete old or complete new bytes. Delegates to the consolidated hoike-core implementation; a directory-fsync failure after the rename surfaces as the typed DurabilityUncertain error text.