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

Function garrow_file_close

c_glib/arrow-glib/file.cpp:50–57  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

48 * Returns: %TRUE on success, %FALSE if there was an error.
49 */
50gboolean
51garrow_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:

Callers

nothing calls this directly

Calls 2

garrow_error_checkFunction · 0.85
CloseMethod · 0.45

Tested by

no test coverage detected