Skip to main content

GitWorkdirDiffProvider

Trait GitWorkdirDiffProvider 

Source
pub trait GitWorkdirDiffProvider: Send + Sync {
    // Required method
    fn uncommitted_changes(
        &self,
        project_root: &Path,
    ) -> Result<Vec<FileChange>>;
}

Required Methods§

Source

fn uncommitted_changes(&self, project_root: &Path) -> Result<Vec<FileChange>>

§Errors

Propagates repository errors.

Implementors§