MCPcopy Create free account
hub / github.com/apache/arrow / garrow_file_system_move

Function garrow_file_system_move

c_glib/arrow-glib/file-system.cpp:914–923  ·  view source on GitHub ↗

* 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

Source from the content-addressed store, hash-verified

912 * Since: 0.17.0
913 */
914gboolean
915garrow_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:

Callers

nothing calls this directly

Calls 3

checkFunction · 0.70
MoveMethod · 0.45

Tested by

no test coverage detected