get_snap_sync


Description:

[ Version ( since = "1.42" ) ]
public Snap get_snap_sync (string name, Cancellable? cancellable = null) throws Error

Get information of a single installed snap.

If the snap does not exist an error occurs.

Parameters:

this

a Client.

name

name of snap to get.

cancellable

a Cancellable or null.

Returns:

a Snap or null on error.




2022 vala-language.org