file_replace_readwrite


Description:


[ Version ( since = "1.2" ) ]
public Future file_replace_readwrite (File file, string? etag, bool make_backup, FileCreateFlags flags, int io_priority)

Wraps [method@Gio.

File.replace_readwrite_async] as a [class@Dex.Future].

Parameters:

file

a [iface@Gio.File]

etag

the etag or null

make_backup

if a backup file should be created

flags

flags for replacing the file

io_priority

priority for the IO operation

Returns:

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


Namespace: Dex
Package: libdex-1