rename_folder
Description:
[ Version ( since = "3.0" ) ]
public async bool rename_folder (string old_name, string new_name, int io_priority, Cancellable? cancellable = null) throws Error
public async bool rename_folder (string old_name, string new_name, int io_priority, Cancellable? cancellable = null) throws Error
Asynchronously renames the folder described by old_name
to new_name
.
When the operation is finished, callback
will be called. You can then call rename_folder.end to get
the result of the operation.
Parameters:
this |
a Store |
old_name |
the current name of the folder |
new_name |
the new name of the folder |
io_priority |
the I/O priority of the request |
cancellable |
optional Cancellable object, or null |
callback |
a TaskReadyCallback to call when the request is satisfied |
user_data |
data to pass to the callback function |