a #GBytes
a new [entity tag][gfile-etag] for the @file, or %NULL
%TRUE if a backup should be created
a set of #GFileCreateFlags
optional #GCancellable object, %NULL to ignore
a #GAsyncReadyCallback to call when the request is satisfied
the data to pass to callback function
2.40
Same as g_file_replace_contents_async() but takes a #GBytes input instead. This function will keep a ref on @contents until the operation is done. Unlike g_file_replace_contents_async() this allows forgetting about the content without waiting for the callback.
When this operation has completed, @callback will be called with @user_user data, and the operation can be finalized with g_file_replace_contents_finish().