[ CCode ( finish_name = "pk_client_generic_finish" ) ]
[ Version ( since = "0.5.2" ) ]
public async Results repo_enable_async (string repo_id, bool enabled, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Enable or disable the repository.
this |
a valid Client instance |
repo_id |
a repo_id structure such as "livna-devel" |
enabled |
if we should enable the repository |
cancellable |
a Cancellable or |
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 |
user_data |
the data to pass to |