Learn R Programming

RGtk2 (version 2.20.31)

gFileReplaceContentsFinish: 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.
.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