Ggit.ReflogEntry

Fields

None

Methods

get_committer ()

get_message ()

get_new_id ()

get_old_id ()

ref ()

unref ()

Details

class Ggit.ReflogEntry

Represents a reflog entry.

get_committer()
Returns:

the committer or None.

Return type:

Ggit.Signature or None

Gets the committer as a Ggit.Signature.

get_message()
Returns:

the message or None.

Return type:

str or None

Gets the message.

get_new_id()
Returns:

the new oid or None.

Return type:

Ggit.OId or None

Gets the new Ggit.OId.

get_old_id()
Returns:

the old oid or None.

Return type:

Ggit.OId or None

Gets the old Ggit.OId.

ref()
Returns:

the passed in Ggit.ReflogEntry or None.

Return type:

Ggit.ReflogEntry or None

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

unref()

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