Method

MsgDriveServicemove_file

Declaration [src]

MsgDriveItem*
msg_drive_service_move_file (
  MsgDriveService* self,
  MsgDriveItem* file,
  MsgDriveItem* destination,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Move a file async on remote server to a new directory.

Parameters

file MsgDriveItem
 

Source MsgDriveItem.

 The data is owned by the caller of the function.
destination MsgDriveItem
 

Destination directory MsgDriveItem.

 The data is owned by the caller of the function.
cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: MsgDriveItem
 

Moved MsgDriveItem.

 The caller of the method takes ownership of the data, and is responsible for freeing it.