* garrow_s3_finalize: * @error: (nullable): Return location for a #GError or %NULL. * * Finalize the S3 APIs. * * Returns: %TRUE on success, %FALSE on error. * * Since: 7.0.0 */
| 1527 | * Since: 7.0.0 |
| 1528 | */ |
| 1529 | gboolean |
| 1530 | garrow_s3_finalize(GError **error) |
| 1531 | { |
| 1532 | #ifdef ARROW_S3 |
| 1533 | return garrow::check(error, arrow::fs::FinalizeS3(), "[s3][finalize]"); |
| 1534 | #else |
| 1535 | return garrow::check( |
| 1536 | error, |
| 1537 | arrow::Status::NotImplemented("Apache Arrow C++ isn't built with S3 support"), |
| 1538 | "[s3][initialize]"); |
| 1539 | #endif |
| 1540 | } |
| 1541 | |
| 1542 | G_DEFINE_TYPE(GArrowS3FileSystem, garrow_s3_file_system, GARROW_TYPE_FILE_SYSTEM) |
| 1543 |
nothing calls this directly
no test coverage detected