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

Function garrow_file_system_delete_dir

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

* garrow_file_system_delete_dir: * @file_system: A #GArrowFileSystem. * @path: The paths of the directory. * @error: (nullable): Return location for a #GError or %NULL. * * Delete a directory and its contents, recursively. * * Returns: %TRUE on success, %FALSE if there was an error. * * Since: 0.17.0 */

Source from the content-addressed store, hash-verified

808 * Since: 0.17.0
809 */
810gboolean
811garrow_file_system_delete_dir(GArrowFileSystem *file_system,
812 const gchar *path,
813 GError **error)
814{
815 auto arrow_file_system = garrow_file_system_get_raw(file_system);
816 auto status = arrow_file_system->DeleteDir(path);
817 return garrow::check(error, status, "[file-system][delete-dir]");
818}
819
820/**
821 * garrow_file_system_delete_dir_contents:

Callers

nothing calls this directly

Calls 3

checkFunction · 0.70
DeleteDirMethod · 0.45

Tested by

no test coverage detected