File.sync

Instructs the OS to flush it's internal buffers to the disk device.

NOTE: due to OS and hardware design, data flushed cannot be guaranteed to be actually on disk-platters. Actual durability of data depends on write-caches, barriers, presence of battery-backup, filesystem and OS-support.

class File
void
sync
()

Meta