Struct git2::Blame [] [src]

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

Opaque structure to hold blame results.

Methods

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

[src]

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

[src]

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

[src]

Gets the blame hunk at the given index.

[src]

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

[src]

Returns an iterator over the hunks in this blame.

Trait Implementations

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

[src]

Executes the destructor for this type. Read more