* garrow_file_system_move: * @file_system: A #GArrowFileSystem. * @src: The path of the source file. * @dest: The path of the destination. * @error: (nullable): Return location for a #GError or %NULL. * * Move / rename a file or a directory. * If the destination exists: * - if it is a non-empty directory, an error is returned * - otherwise, if it has the same type as the source, it is rep
| 912 | * Since: 0.17.0 |
| 913 | */ |
| 914 | gboolean |
| 915 | garrow_file_system_move(GArrowFileSystem *file_system, |
| 916 | const gchar *src, |
| 917 | const gchar *dest, |
| 918 | GError **error) |
| 919 | { |
| 920 | auto arrow_file_system = garrow_file_system_get_raw(file_system); |
| 921 | auto status = arrow_file_system->Move(src, dest); |
| 922 | return garrow::check(error, status, "[file-system][move]"); |
| 923 | } |
| 924 | |
| 925 | /** |
| 926 | * garrow_file_system_copy_file: |
nothing calls this directly
no test coverage detected