file_copy_with_progress


Description:


[ Version ( since = "1.2" ) ]
public Future file_copy_with_progress (File source, File destination, FileCopyFlags flags, int io_priority, owned FileProgressCallback? progress_callback)

Wraps [method@Gio.

File.copy_async] with progress callback support.

Parameters:

source

source [iface@Gio.File]

destination

destination [iface@Gio.File]

flags

a set of [flags@Gio.FileCopyFlags]

io_priority

the IO priority of the request

progress_callback

[callback@Gio.FileProgressCallback] function for updates

progress_callback_data

`gpointer` to user data for the callback function

progress_callback_data_destroy

a function to destroy the progress_callback_data, or null

Returns:

a [class@Dex.Future] that resolves to true or rejects with error


Namespace: Dex
Package: libdex-1