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. */
| 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 | /** |
no test coverage detected