DirectoryCommit

Sync directory contents. This is required on some environments to ensure that newly created files are committed to disk.

Synopsis

Declared in <util/fs_helpers.h>

void
DirectoryCommit(fs::path const& dirname);

Parameters

NameDescription
dirname [in]The directory whose contents should be synced to disk.