* 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 */
| 808 | * Since: 0.17.0 |
| 809 | */ |
| 810 | gboolean |
| 811 | garrow_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: |
nothing calls this directly
no test coverage detected