mirror of
https://github.com/containers/skopeo.git
synced 2025-10-22 11:44:05 +00:00
vendor.conf: add ostree-go
it is used by containers/image for pulling images to the OSTree storage. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
17
vendor/github.com/ostreedev/ostree-go/pkg/glibobject/glibobject.go.h
generated
vendored
Normal file
17
vendor/github.com/ostreedev/ostree-go/pkg/glibobject/glibobject.go.h
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user