![]() |
![]() |
![]() |
libgit2-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
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
);
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.
|
a GgitReflogEntry. |
Returns : |
the passed in GgitReflogEntry. [transfer none] |
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.
|
a GgitReflogEntry. |
GgitOId * ggit_reflog_entry_get_old_id (GgitReflogEntry *reflog_entry
);
Gets the old GgitOId.
|
a GgitReflogEntry. |
Returns : |
the old oid. |
GgitOId * ggit_reflog_entry_get_new_id (GgitReflogEntry *reflog_entry
);
Gets the new GgitOId.
|
a GgitReflogEntry. |
Returns : |
the new oid. |
GgitSignature * ggit_reflog_entry_get_committer (GgitReflogEntry *reflog_entry
);
Gets the committer as a GgitSignature.
|
a GgitReflogEntry. |
Returns : |
the committer. [transfer none] |
const gchar * ggit_reflog_entry_get_message (GgitReflogEntry *reflog_entry
);
Gets the message.
|
a GgitReflogEntry. |
Returns : |
the message. |