resolve
Description:
[ Version ( since = "0.5.3" ) ]
public Results resolve (Bitfield filters, string[] packages, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
public Results resolve (Bitfield filters, string[] packages, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Resolve a package name into a package_id
.
This can return installed and available packages and allows you find out if a package is installed locally or is available in a repository.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
Parameters:
this |
a valid Client instance |
filters | |
packages |
an array of package names to resolve, e.g. "gnome-system-tools" |
cancellable |
a Cancellable or |
progress_callback |
the function to run when the progress changes |
progress_user_data |
data to pass to |
Returns:
a Results object, or |