download_sync


Description:

[ Version ( since = "1.54" ) ]
public Bytes download_sync (string name, string? channel, string? revision, Cancellable? cancellable = null) throws Error

Download the given snap.

Parameters:

this

a Client.

name

name of snap to download.

channel

channel to download from.

revision

revision to download.

cancellable

a Cancellable or null.

Returns:

the snap contents or null on error.