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

Function garrow_file_system_delete_file

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

* garrow_file_system_delete_file: * @file_system: A #GArrowFileSystem. * @path: The paths of the file to be delete. * @error: (nullable): Return location for a #GError or %NULL. * * Delete a file. * * Returns: %TRUE on success, %FALSE if there was an error. * * Since: 0.17.0 */

Source from the content-addressed store, hash-verified

855 * Since: 0.17.0
856 */
857gboolean
858garrow_file_system_delete_file(GArrowFileSystem *file_system,
859 const gchar *path,
860 GError **error)
861{
862 auto arrow_file_system = garrow_file_system_get_raw(file_system);
863 auto status = arrow_file_system->DeleteFile(path);
864 return garrow::check(error, status, "[file-system][delete-file]");
865}
866
867/**
868 * garrow_file_system_delete_files:

Callers

nothing calls this directly

Calls 3

checkFunction · 0.70
DeleteFileMethod · 0.45

Tested by

no test coverage detected