repo_remove_async


Description:

[ CCode ( finish_name = "pk_client_generic_finish" ) ]
[ Version ( since = "0.9.1" ) ]
public async Results repo_remove_async (Bitfield transaction_flags, string repo_id, bool autoremove, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Removes a repo and optionally the packages installed from it.

Parameters:

this

a valid Client instance

transaction_flags

transaction flags

repo_id

a repo_id structure such as "livna-devel"

autoremove

If packages should be auto-removed

cancellable

a Cancellable or null

progress_callback

the function to run when the progress changes

callback_ready

the function to run on completion

progress_user_data

data to pass to progress_callback

user_data

the data to pass to callback_ready




2022 vala-language.org