Struct git2::ReflogEntry
[−]
[src]
pub struct ReflogEntry<'reflog> { // some fields omitted }
An entry inside the reflog of a repository
Methods
impl<'reflog> ReflogEntry<'reflog>
fn committer(&self) -> Signature
Get the committer of this entry
fn id_new(&self) -> Oid
Get the new oid
fn id_old(&self) -> Oid
Get the old oid
fn message(&self) -> Option<&str>
Get the log message, returning None
on invalid UTF-8.
fn message_bytes(&self) -> Option<&[u8]>
Get the log message as a byte array.