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

Function garrow_writable_flush

c_glib/arrow-glib/writable.cpp:73–80  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

71 * Returns: %TRUE on success, %FALSE if there was an error.
72 */
73gboolean
74garrow_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
82G_END_DECLS
83

Callers

nothing calls this directly

Calls 2

garrow_error_checkFunction · 0.85
FlushMethod · 0.45

Tested by

no test coverage detected