repo_enable


Description:

[ Version ( since = "0.5.3" ) ]
public Results repo_enable (string repo_id, bool enabled, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Enable or disable the repository.

Warning: this function is synchronous, and may block. Do not use it in GUI applications.

Parameters:

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 null

progress_callback

the function to run when the progress changes

progress_user_data

data to pass to progress_callback

Returns:

a Results object, or null for error




2022 vala-language.org