Function
Dexfile_replace_readwrite
unstable since: 1.2
Declaration [src]
DexFuture*
dex_file_replace_readwrite (
GFile* file,
const char* etag,
gboolean make_backup,
GFileCreateFlags flags,
int io_priority
)
Parameters
file-
Type:
GFileA
GFile.The data is owned by the caller of the function. etag-
Type:
const char*The etag or
NULL.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. make_backup-
Type:
gbooleanIf a backup file should be created.
flags-
Type:
GFileCreateFlagsFlags for replacing the file.
io_priority-
Type:
intPriority for the IO operation.
Return value
Type: DexFuture
A DexFuture that resolves to a
GFileIOStream or rejects with error.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |