search_files
Description:
[ Version ( since = "0.5.5" ) ]
public Results search_files (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
public Results search_files (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Search for packages that provide a specific file.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
Parameters:
this |
a valid Client instance |
filters | |
values |
file to search for, for instance, "/sbin/service" |
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 |