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