FileT.moveAsync

Asynchronously moves a file source to the location of destination. For details of the behaviour, see gio.file.File.move.

If progress_callback is not null, then that function that will be called just like in gio.file.File.move. The callback will run in the default main context of the thread calling gio.file.File.moveAsync — the same context as callback is run in.

When the operation is finished, callback will be called. You can then call gio.file.File.moveFinish to get the result of the operation.

Parameters

destination gio.file.File

#GFile pointing to the destination location

flags gio.types.FileCopyFlags

set of #GFileCopyFlags

ioPriority int

the [I/O priority][io-priority] of the request

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore

progressCallback gio.types.FileProgressCallback

#GFileProgressCallback function for updates

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied