file_replace


Description:


public Future file_replace (File file, string? etag, bool make_backup, FileCreateFlags flags, int io_priority)

Opens a stream that will replace file on disk when the input stream is closed.

Parameters:

file

a [iface@Gio.File]

etag

the etag or null

flags

a set of [flags@Gio.FileCreateFlags]

Returns:

a [class@Dex.Future] that resolves to a [class@Gio.FileInputStream].


Namespace: Dex
Package: libdex-1