Struct git2::BlameOptions [−][src]
pub struct BlameOptions { /* fields omitted */ }
Blame options
Methods
impl BlameOptions
[src]
impl BlameOptions
pub fn new() -> BlameOptions
[src]
pub fn new() -> BlameOptions
Initialize options
pub fn track_copies_same_file(&mut self, opt: bool) -> &mut BlameOptions
[src]
pub fn track_copies_same_file(&mut self, opt: bool) -> &mut BlameOptions
Track lines that have moved within a file.
pub fn track_copies_same_commit_moves(&mut self, opt: bool) -> &mut BlameOptions
[src]
pub fn track_copies_same_commit_moves(&mut self, opt: bool) -> &mut BlameOptions
Track lines that have moved across files in the same commit.
pub fn track_copies_same_commit_copies(
&mut self,
opt: bool
) -> &mut BlameOptions
[src]
pub fn track_copies_same_commit_copies(
&mut self,
opt: bool
) -> &mut BlameOptions
Track lines that have been copied from another file that exists in the same commit.
pub fn track_copies_any_commit_copies(&mut self, opt: bool) -> &mut BlameOptions
[src]
pub fn track_copies_any_commit_copies(&mut self, opt: bool) -> &mut BlameOptions
Track lines that have been copied from another file that exists in any commit.
pub fn first_parent(&mut self, opt: bool) -> &mut BlameOptions
[src]
pub fn first_parent(&mut self, opt: bool) -> &mut BlameOptions
Restrict the search of commits to those reachable following only the first parents.
pub fn newest_commit(&mut self, id: Oid) -> &mut BlameOptions
[src]
pub fn newest_commit(&mut self, id: Oid) -> &mut BlameOptions
Setter for the id of the newest commit to consider.
pub fn oldest_commit(&mut self, id: Oid) -> &mut BlameOptions
[src]
pub fn oldest_commit(&mut self, id: Oid) -> &mut BlameOptions
Setter for the id of the oldest commit to consider.
Trait Implementations
impl Default for BlameOptions
[src]
impl Default for BlameOptions
Auto Trait Implementations
impl Send for BlameOptions
impl Send for BlameOptions
impl Sync for BlameOptions
impl Sync for BlameOptions