Skip to main content

GitDiffProvider

Trait GitDiffProvider 

Source
pub trait GitDiffProvider: Send + Sync {
    // Required method
    fn changed_files(
        &self,
        project_root: &Path,
        base: &str,
        head: &str,
    ) -> Result<Vec<FileChange>>;
}

Required Methods§

Source

fn changed_files( &self, project_root: &Path, base: &str, head: &str, ) -> Result<Vec<FileChange>>

§Errors

Propagates repository errors.

Implementors§