Struct git2::BlameOptions[][src]

pub struct BlameOptions { /* fields omitted */ }
Expand description

Blame options

Implementations

Initialize options

Track lines that have moved within a file.

Track lines that have moved across files in the same commit.

Track lines that have been copied from another file that exists in the same commit.

Track lines that have been copied from another file that exists in any commit.

Restrict the search of commits to those reachable following only the first parents.

Use mailmap file to map author and committer names and email addresses to canonical real names and email addresses. The mailmap will be read from the working directory, or HEAD in a bare repository.

Ignore whitespace differences.

Setter for the id of the newest commit to consider.

Setter for the id of the oldest commit to consider.

The first line in the file to blame.

The last line in the file to blame.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.