GgitReflogEntry

GgitReflogEntry

Synopsis

                    GgitReflogEntry;
GgitReflogEntry *   ggit_reflog_entry_ref               (GgitReflogEntry *reflog_entry);
void                ggit_reflog_entry_unref             (GgitReflogEntry *reflog_entry);
GgitOId *           ggit_reflog_entry_get_old_id        (GgitReflogEntry *reflog_entry);
GgitOId *           ggit_reflog_entry_get_new_id        (GgitReflogEntry *reflog_entry);
GgitSignature *     ggit_reflog_entry_get_committer     (GgitReflogEntry *reflog_entry);
const gchar *       ggit_reflog_entry_get_message       (GgitReflogEntry *reflog_entry);

Object Hierarchy

  GBoxed
   +----GgitReflogEntry

Description

Details

GgitReflogEntry

typedef struct _GgitReflogEntry GgitReflogEntry;

Represents a reflog entry.


ggit_reflog_entry_ref ()

GgitReflogEntry *   ggit_reflog_entry_ref               (GgitReflogEntry *reflog_entry);

Atomically increments the reference count of reflog_entry by one. This function is MT-safe and may be called from any thread.

reflog_entry :

a GgitReflogEntry.

Returns :

the passed in GgitReflogEntry. [transfer none]

ggit_reflog_entry_unref ()

void                ggit_reflog_entry_unref             (GgitReflogEntry *reflog_entry);

Atomically decrements the reference count of reflog_entry by one. If the reference count drops to 0, reflog_entry is freed.

reflog_entry :

a GgitReflogEntry.

ggit_reflog_entry_get_old_id ()

GgitOId *           ggit_reflog_entry_get_old_id        (GgitReflogEntry *reflog_entry);

Gets the old GgitOId.

reflog_entry :

a GgitReflogEntry.

Returns :

the old oid.

ggit_reflog_entry_get_new_id ()

GgitOId *           ggit_reflog_entry_get_new_id        (GgitReflogEntry *reflog_entry);

Gets the new GgitOId.

reflog_entry :

a GgitReflogEntry.

Returns :

the new oid.

ggit_reflog_entry_get_committer ()

GgitSignature *     ggit_reflog_entry_get_committer     (GgitReflogEntry *reflog_entry);

Gets the committer as a GgitSignature.

reflog_entry :

a GgitReflogEntry.

Returns :

the committer. [transfer none]

ggit_reflog_entry_get_message ()

const gchar *       ggit_reflog_entry_get_message       (GgitReflogEntry *reflog_entry);

Gets the message.

reflog_entry :

a GgitReflogEntry.

Returns :

the message.