## GgitObject GgitObject |

## Synopsis

                        GgitObject;
    struct              GgitObjectClass;
    GgitOId *           ggit_object_get_id                  (GgitObject *object);
    GgitRepository *    ggit_object_get_owner               (GgitObject *object);

## Object Hierarchy

      GObject
       +----GgitObjectFactoryBase
             +----GgitNative
                   +----GgitObject
                         +----GgitBlob
                         +----GgitCommit
                         +----GgitTag
                         +----GgitTree

## Description

## Details

### GgitObject

    typedef struct _GgitObject GgitObject;

Represents a generic object in a repository.

### struct GgitObjectClass

    struct GgitObjectClass {
    };

The class structure for GgitObjectClass.

### ggit_object_get_id ()

    GgitOId *           ggit_object_get_id                  (GgitObject *object);

Gets the GgitOId of `object`.

`object` : | a GgitObject.
Returns : | the GgitOId of the object. [transfer full]

### ggit_object_get_owner ()

    GgitRepository *    ggit_object_get_owner               (GgitObject *object);

Gets the GgitRepository that owns `object`.

`object` : | a GgitObject.
Returns : | the GgitRepository that owns this object. The returned value must be free'd calling `g_object_unref()`. [transfer full]