| Top |
| GgitReflog * | ggit_reflog_ref () |
| void | ggit_reflog_unref () |
| guint | ggit_reflog_get_entry_count () |
| GgitReflogEntry * | ggit_reflog_get_entry_from_index () |
GgitReflog *
ggit_reflog_ref (GgitReflog *reflog);
Atomically increments the reference count of reflog
by one.
This function is MT-safe and may be called from any thread.
void
ggit_reflog_unref (GgitReflog *reflog);
Atomically decrements the reference count of reflog
by one.
If the reference count drops to 0, reflog
is freed.
guint
ggit_reflog_get_entry_count (GgitReflog *reflog);
Gets the number of log entries in reflog
.
GgitReflogEntry * ggit_reflog_get_entry_from_index (GgitReflog *reflog,guint idx);
Gets the GgitReflogEntry at idx
in reflog
, or NULL if not found.