3 ms·
There's a sync_all method that will make sure all data and metadata is written or else return an error. This may be used at any time, not just when closing the
by ChrisSD 7y ago
There's a sync_all method that will make sure all data and metadata is written or else return an error. This may be used at any time, not just when closing the file, and it is expensive so it does make sense to have a separate method for that case.