FileT.replaceContentsFinish

Finishes an asynchronous replace of the given file. See gio.file.File.replaceContentsAsync. Sets new_etag to the new entity tag for the document, if present.

template FileT()
override
bool
replaceContentsFinish

Parameters

res gio.async_result.AsyncResult

a #GAsyncResult

newEtag string

a location of a new entity tag for the document. This should be freed with glib.global.gfree when it is no longer needed, or null

Return Value

Type: bool

true on success, false on failure.