* gadataset_file_format_equal: * @format: A #GADatasetFileFormat. * @other_format: A #GADatasetFileFormat to be compared. * * Returns: %TRUE if they are the same content file format, %FALSE otherwise. * * Since: 3.0.0 */
| 397 | * Since: 3.0.0 |
| 398 | */ |
| 399 | gboolean |
| 400 | gadataset_file_format_equal(GADatasetFileFormat *format, |
| 401 | GADatasetFileFormat *other_format) |
| 402 | { |
| 403 | const auto arrow_format = gadataset_file_format_get_raw(format); |
| 404 | const auto arrow_other_format = gadataset_file_format_get_raw(other_format); |
| 405 | return arrow_format->Equals(*arrow_other_format); |
| 406 | } |
| 407 | |
| 408 | G_DEFINE_TYPE(GADatasetCSVFileFormat, |
| 409 | gadataset_csv_file_format, |
nothing calls this directly
no test coverage detected