Skip to main content

DiffPort

Trait DiffPort 

Source
pub trait DiffPort {
    // Required method
    fn changed_regions(
        &self,
        diff_ref: &str,
        working_dir: &Path,
        paths: &[String],
    ) -> Result<HashMap<String, FileChangeKind>, CrapError>;
}
Expand description

Port for computing which files/regions changed relative to a git ref.

Required Methods§

Source

fn changed_regions( &self, diff_ref: &str, working_dir: &Path, paths: &[String], ) -> Result<HashMap<String, FileChangeKind>, CrapError>

Implementors§