d76645680f
Bump containers/image (pulling in its new dependency on ostree-go), containers/storage, and updated image-spec. This pulls in the OCI v1.0 specifications and code that allows us to support 1.0 images. Signed-off-by: Dan Walsh <dwalsh@redhat.com> Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
17 lines
297 B
C
17 lines
297 B
C
#include <glib.h>
|
|
|
|
static char *
|
|
_g_error_get_message (GError *error)
|
|
{
|
|
g_assert (error != NULL);
|
|
return error->message;
|
|
}
|
|
|
|
static const char *
|
|
_g_variant_lookup_string (GVariant *v, const char *key)
|
|
{
|
|
const char *r;
|
|
if (g_variant_lookup (v, key, "&s", &r))
|
|
return r;
|
|
return NULL;
|
|
}
|