gFileReplaceContentsFinish {RGtk2} | R Documentation

## gFileReplaceContentsFinish

### Description

Finishes an asynchronous replace of the given `file`. See `gFileReplaceContentsAsync`. Sets `new.etag` to the new entity tag for the document, if present.

### Usage

    gFileReplaceContentsFinish(object, res, .errwarn = TRUE)

### Arguments

``object`` | input `GFile`.
``res`` | a `GAsyncResult`.
`.errwarn` | Whether to issue a warning on error or fail silently

### Value

A list containing the following elements:

`retval` | [logical] `TRUE` on success, `FALSE` on failure.
``new.etag`` | a location of a new entity tag for the document. This should be freed with `gFree()` when it is no longer needed, or `NULL`
``error`` | a `GError`, or `NULL`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]