file_copy


Description:


public Future file_copy (File source, File destination, FileCopyFlags flags, int io_priority)

Asynchronously copies a file and returns a [class@Dex.

Future] which can be observed for the result.

Parameters:

source

a [iface@Gio.File]

destination

a [iface@Gio.File]

flags

a set of [flags@Gio.FileCopyFlags]

io_priority

the IO priority of the request

Returns:

a [class@Dex.Future] that resolves to true if successful otherwise rejects with error.


Namespace: Dex
Package: libdex-1