* garrow_writable_flush: * @writable: A #GArrowWritable. * @error: (nullable): Return location for a #GError or %NULL. * * It ensures writing all data on memory to storage. * * Returns: %TRUE on success, %FALSE if there was an error. */
| 71 | * Returns: %TRUE on success, %FALSE if there was an error. |
| 72 | */ |
| 73 | gboolean |
| 74 | garrow_writable_flush(GArrowWritable *writable, GError **error) |
| 75 | { |
| 76 | const auto arrow_writable = garrow_writable_get_raw(writable); |
| 77 | |
| 78 | auto status = arrow_writable->Flush(); |
| 79 | return garrow_error_check(error, status, "[io][writable][flush]"); |
| 80 | } |
| 81 | |
| 82 | G_END_DECLS |
| 83 |
nothing calls this directly
no test coverage detected