Skip to main content

sync_directory

Function sync_directory 

Source
pub fn sync_directory(path: &Path) -> Result<()>
Expand description

Make a newly created directory’s entry durable using the same portability contract as FileIo::sync_dir (Windows relies on the metadata journal).