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

Function sync_all

include/boost/asio/basic_file.hpp:862–867  ·  view source on GitHub ↗

Synchronise the file to disk. * This function synchronises the file data and metadata 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

860 * @throws boost::system::system_error Thrown on failure.
861 */
862 void sync_all()
863 {
864 boost::system::error_code ec;
865 impl_.get_service().sync_all(impl_.get_implementation(), ec);
866 boost::asio::detail::throw_error(ec, "sync_all");
867 }
868
869 /// Synchronise the file to disk.
870 /**

Callers 2

Calls 1

throw_errorFunction · 0.85

Tested by

no test coverage detected