Struct git2::Blame[][src]

pub struct Blame<'repo> { /* fields omitted */ }

Opaque structure to hold blame results.


impl<'repo> Blame<'repo>

Gets the number of hunks that exist in the blame structure.

Return true is there is no hunk in the blame structure.

Gets the blame hunk at the given index.

Gets the hunk that relates to the given line number in the newest commit.

Important traits for BlameIter<'blame>

Returns an iterator over the hunks in this blame.

Trait Implementations

impl<'repo> Drop for Blame<'repo>

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'repo> !Send for Blame<'repo>

impl<'repo> !Sync for Blame<'repo>