Skip to main content

Blamer

Trait Blamer 

Source
pub trait Blamer {
    // Required method
    fn blame(
        &self,
        revision: &str,
        path: &str,
        opts: Option<&BlameOptions>,
    ) -> AppResult<Vec<BlameLine>>;
}
Expand description

Read-only access to git blame data.

Required Methods§

Source

fn blame( &self, revision: &str, path: &str, opts: Option<&BlameOptions>, ) -> AppResult<Vec<BlameLine>>

Returns per-line blame information for a file at the given revision.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§