pub fn sync_directory(path: &Path) -> Result<()>
Make a newly created directory’s entry durable using the same portability contract as FileIo::sync_dir (Windows relies on the metadata journal).