repo_remove


Description:

[ Version ( since = "0.9.1" ) ]
public Results repo_remove (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.

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

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

progress_user_data

data to pass to progress_callback

Returns:

a Results object, or null for error