refresh_cache_sync


Description:

[ Version ( since = "0.6.5" ) ]
public Results refresh_cache_sync (bool force, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Refresh the package cache.

Parameters:

this

a valid Task instance

force

if the metadata should be deleted and re-downloaded even if it is correct

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