Ggit.Tag

g GObject.Object GObject.Object Ggit.ObjectFactoryBase Ggit.ObjectFactoryBase GObject.Object->Ggit.ObjectFactoryBase Ggit.Native Ggit.Native Ggit.Object Ggit.Object Ggit.Native->Ggit.Object Ggit.Tag Ggit.Tag Ggit.Object->Ggit.Tag Ggit.ObjectFactoryBase->Ggit.Native

Subclasses:

None

Methods

Inherited:

Ggit.Object (2), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_message ()

get_name ()

get_tagger ()

get_target ()

get_target_id ()

get_target_type ()

peel ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Ggit.Native (1)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Ggit.Object

r

Class Details

class Ggit.Tag(**kwargs)
Bases:

Ggit.Object

Abstract:

No

Structure:

Ggit.TagClass

Represents a tag object.

get_message()
Returns:

the message of the tag or None.

Return type:

str or None

Gets the message of self.

get_name()
Returns:

the name of the tag or None.

Return type:

str or None

Gets the name of self.

get_tagger()
Returns:

the tagger (author) of the tag or None.

Return type:

Ggit.Signature or None

Get the tagger (author) of self. The returned value must be free with GObject.Object.unref().

get_target()
Raises:

GLib.Error

Returns:

the target Ggit.Object of the tag or None.

Return type:

Ggit.Object or None

Gets the target Ggit.Object of self.

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

get_target_id()
Returns:

the target Ggit.OId of the tag or None.

Return type:

Ggit.OId or None

Gets the target Ggit.OId of self.

get_target_type()
Returns:

a GObject.GType.

Return type:

GObject.GType

Get the target object type.

peel()
Raises:

GLib.Error

Returns:

a Ggit.Object or None.

Return type:

Ggit.Object or None

Recursively peel a tag until a non tag object is found.