Top |
Functions
GgitReflog * | ggit_reflog_ref () |
void | ggit_reflog_unref () |
guint | ggit_reflog_get_entry_count () |
GgitReflogEntry * | ggit_reflog_get_entry_from_index () |
Functions
ggit_reflog_ref ()
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.
ggit_reflog_unref ()
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.
ggit_reflog_get_entry_count ()
guint
ggit_reflog_get_entry_count (GgitReflog *reflog
);
Gets the number of log entries in reflog
.
ggit_reflog_get_entry_from_index ()
GgitReflogEntry * ggit_reflog_get_entry_from_index (GgitReflog *reflog
,guint idx
);
Gets the GgitReflogEntry at idx
in reflog
, or NULL
if not found.