GgitTag

GgitTag

Synopsis

                    GgitTag;
struct              GgitTagClass;
GgitObject *        ggit_tag_get_target                 (GgitTag *tag,
                                                         GError **error);
GgitOId *           ggit_tag_get_target_id              (GgitTag *tag);
const gchar *       ggit_tag_get_name                   (GgitTag *tag);
GgitSignature *     ggit_tag_get_tagger                 (GgitTag *tag);
const gchar *       ggit_tag_get_message                (GgitTag *tag);

Object Hierarchy

  GObject
   +----GgitObjectFactoryBase
         +----GgitNative
               +----GgitObject
                     +----GgitTag

Description

Details

GgitTag

typedef struct _GgitTag GgitTag;

Represents a tag object.


struct GgitTagClass

struct GgitTagClass {
};

The class structure for GgitTagClass.


ggit_tag_get_target ()

GgitObject *        ggit_tag_get_target                 (GgitTag *tag,
                                                         GError **error);

Gets the target GgitObject of tag.

This method performs a repository lookup for the given object and returns it.

tag :

a GgitTag.

error :

a GError for error reporting, or NULL.

Returns :

the target GgitObject of the tag. [transfer full]

ggit_tag_get_target_id ()

GgitOId *           ggit_tag_get_target_id              (GgitTag *tag);

Gets the target GgitOId of tag.

tag :

a GgitTag.

Returns :

the target GgitOId of the tag. [transfer full]

ggit_tag_get_name ()

const gchar *       ggit_tag_get_name                   (GgitTag *tag);

Gets the name of tag.

tag :

a GgitTag.

Returns :

the name of the tag.

ggit_tag_get_tagger ()

GgitSignature *     ggit_tag_get_tagger                 (GgitTag *tag);

Get the tagger (author) of tag. The returned value must be free with g_object_unref().

tag :

a GgitTag.

Returns :

the tagger (author) of the tag. [transfer full]

ggit_tag_get_message ()

const gchar *       ggit_tag_get_message                (GgitTag *tag);

Gets the message of tag.

tag :

a GgitTag.

Returns :

the message of the tag.