repo_enable_async


Description:

[ CCode ( finish_name = "pk_task_generic_finish" ) ]
[ Version ( since = "0.6.5" ) ]
public async Results repo_enable_async (string repo_id, bool enabled, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Enable or disable a specific repo.

Parameters:

this

a valid Task instance

repo_id

The software repository ID

enabled

true or false

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