refresh_sync


Description:

public bool refresh_sync (string name, string? channel, ProgressCallback? progress_callback, Cancellable? cancellable = null) throws Error

Ensure an installed snap is at the latest version.

Parameters:

this

a Client.

name

name of snap to refresh.

channel

channel to refresh from or null for default.

progress_callback

function to callback with progress.

cancellable

a Cancellable or null.

progress_callback_data

user data to pass to progress_callback.

Returns:

true on success or false on error.