* 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 */
| 855 | * Since: 0.17.0 |
| 856 | */ |
| 857 | gboolean |
| 858 | garrow_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: |
nothing calls this directly
no test coverage detected