MCPcopy Create free account
hub / github.com/apache/arrow / garrow_s3_finalize

Function garrow_s3_finalize

c_glib/arrow-glib/file-system.cpp:1529–1540  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

1527 * Since: 7.0.0
1528 */
1529gboolean
1530garrow_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
1542G_DEFINE_TYPE(GArrowS3FileSystem, garrow_s3_file_system, GARROW_TYPE_FILE_SYSTEM)
1543

Callers

nothing calls this directly

Calls 3

checkFunction · 0.70
FinalizeS3Function · 0.50
NotImplementedFunction · 0.50

Tested by

no test coverage detected