Ggit.Object

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.ObjectFactoryBase->Ggit.Native

Subclasses:

Ggit.Blob, Ggit.Commit, Ggit.Tag, Ggit.Tree

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_id ()

get_owner ()

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.Native

r

Class Details

class Ggit.Object(**kwargs)
Bases:

Ggit.Native

Abstract:

Yes

Structure:

Ggit.ObjectClass

Represents a generic object in a repository.

get_id()
Returns:

the Ggit.OId of the object or None.

Return type:

Ggit.OId or None

Gets the Ggit.OId of self.

get_owner()
Returns:

the Ggit.Repository that owns this object or None. The returned value must be free’d calling GObject.Object.unref().

Return type:

Ggit.Repository or None

Gets the Ggit.Repository that owns self.