Method lrs::file::File::sync

Flushes all data and meta-data of the file to the disk.

Syntax

impl File {
    fn sync(&self) -> Result<(), Errno>
}

See also