Skip to main content

sync_parent_dir

Function sync_parent_dir 

Source
pub async fn sync_parent_dir(path: &Path) -> Result<(), FileError>
Expand description

Flush the directory entry a rename onto path just wrote, so the installed file survives a crash. Every durable rename in the crate ends here.