pub fn fsync_parent_dir(path: &Path) -> Result<()>
Fsync the parent directory of path for durability.
path
Returns an IO error if the parent directory cannot be opened or fsynced.