* garrow_file_system_create_dir: * @file_system: A #GArrowFileSystem. * @path: The paths of the directory. * @recursive: Whether creating directory recursively or not. * @error: (nullable): Return location for a #GError or %NULL. * * Create a directory and subdirectories. * This function succeeds if the directory already exists. * * Returns: %TRUE on success, %FALSE if there was an error.
| 785 | * Since: 0.17.0 |
| 786 | */ |
| 787 | gboolean |
| 788 | garrow_file_system_create_dir(GArrowFileSystem *file_system, |
| 789 | const gchar *path, |
| 790 | gboolean recursive, |
| 791 | GError **error) |
| 792 | { |
| 793 | auto arrow_file_system = garrow_file_system_get_raw(file_system); |
| 794 | auto status = arrow_file_system->CreateDir(path, recursive); |
| 795 | return garrow::check(error, status, "[file-system][create-dir]"); |
| 796 | } |
| 797 | |
| 798 | /** |
| 799 | * garrow_file_system_delete_dir: |
nothing calls this directly
no test coverage detected