Struct git2::Note [] [src]

pub struct Note<'repo> {
    // some fields omitted
}

A structure representing a note in git.

Methods

impl<'repo> Note<'repo>
[src]

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

Trait Implementations

impl<'repo> Drop for Note<'repo>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more