Skip to main content

write_snapshot

Function write_snapshot 

Source
pub fn write_snapshot(
    path: &Path,
    snapshot: &EngineStateSnapshot,
) -> Result<(), String>
Expand description

Write a snapshot atomically: temp → fsync → rename → dir sync.