Skip to main content

sync_dir

Function sync_dir 

Source
fn sync_dir(dir: &Path) -> Result<()>
Expand description

Flush the directory entry itself, so the rename survives a power cut and not just a process crash.