FileT.replaceContentsFinish

Finishes an asynchronous replace of the given @file. See g_file_replace_contents_async(). Sets @new_etag to the new entity tag for the document, if present.

template FileT(TStruct)
bool
replaceContentsFinish

Parameters

res AsyncResultIF

a #GAsyncResult

newEtag string

a location of a new [entity tag][gfile-etag] for the document. This should be freed with g_free() when it is no longer needed, or %NULL

Return Value

Type: bool

%TRUE on success, %FALSE on failure.

Throws

GException on failure.

Meta