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 asio::system_error Thrown on failure. */
| 751 | * @throws asio::system_error Thrown on failure. |
| 752 | */ |
| 753 | void sync_all() |
| 754 | { |
| 755 | asio::error_code ec; |
| 756 | impl_.get_service().sync_all(impl_.get_implementation(), ec); |
| 757 | asio::detail::throw_error(ec, "sync_all"); |
| 758 | } |
| 759 | |
| 760 | /// Synchronise the file to disk. |
| 761 | /** |
no test coverage detected