Method

SnapdSnapget_version

since: 1.0

Declaration [src]

const gchar*
snapd_snap_get_version (
  SnapdSnap* snap
)

Description [src]

Get the version for this snap. The format of the string is undefined. See also snapd_snap_get_revision().

Available since: 1.0

Gets propertySnapd.Snap:version

Return value

Type: const gchar*

A version string.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.