Skip to main content

write_root_pointer_atomic

Function write_root_pointer_atomic 

Source
pub fn write_root_pointer_atomic(
    root_path: &Path,
    pointer: EcsRootPointer,
) -> Result<()>
Expand description

Crash-safe ecs/root update: temp write -> fsync temp -> rename -> fsync dir.

ยงErrors

Returns FrankenError::Io for filesystem failures.