Same as gio.file.File.replaceContentsAsync but takes a #GBytes input instead. This function will keep a ref on contents until the operation is done. Unlike gio.file.File.replaceContentsAsync 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 gio.file.File.replaceContentsFinish.
a #GBytes
a new entity tag 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
Same as gio.file.File.replaceContentsAsync but takes a #GBytes input instead. This function will keep a ref on contents until the operation is done. Unlike gio.file.File.replaceContentsAsync 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 gio.file.File.replaceContentsFinish.