MCPcopy Create free account
hub / github.com/boostorg/asio / sync_data

Function sync_data

include/boost/asio/basic_file.hpp:889–894  ·  view source on GitHub ↗

Synchronise the file data to disk. * This function synchronises the file data to disk. Note that the semantics * of this synchronisation vary between operation systems. * * @throws boost::system::system_error Thrown on failure. */

Source from the content-addressed store, hash-verified

887 * @throws boost::system::system_error Thrown on failure.
888 */
889 void sync_data()
890 {
891 boost::system::error_code ec;
892 impl_.get_service().sync_data(impl_.get_implementation(), ec);
893 boost::asio::detail::throw_error(ec, "sync_data");
894 }
895
896 /// Synchronise the file data to disk.
897 /**

Callers 2

Calls 1

throw_errorFunction · 0.85

Tested by

no test coverage detected