* garrow_file_close: * @file: A #GArrowFile. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: %TRUE on success, %FALSE if there was an error. */
| 48 | * Returns: %TRUE on success, %FALSE if there was an error. |
| 49 | */ |
| 50 | gboolean |
| 51 | garrow_file_close(GArrowFile *file, GError **error) |
| 52 | { |
| 53 | auto arrow_file = garrow_file_get_raw(file); |
| 54 | |
| 55 | auto status = arrow_file->Close(); |
| 56 | return garrow_error_check(error, status, "[io][file][close]"); |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * garrow_file_is_closed: |
nothing calls this directly
no test coverage detected