Struct git2::Note
[−]
[src]
pub struct Note<'repo> { // some fields omitted }
A structure representing a note in git.
Methods
impl<'repo> Note<'repo>
fn author(&self) -> Signature
Get the note author
fn committer(&self) -> Signature
Get the note committer
fn message_bytes(&self) -> &[u8]
Get the note message, in bytes.
fn message(&self) -> Option<&str>
Get the note message as a string, returning None
if it is not UTF-8.
fn id(&self) -> Oid
Get the note object's id