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§
fn changed_regions( &self, diff_ref: &str, working_dir: &Path, paths: &[String], ) -> Result<HashMap<String, FileChangeKind>, CrapError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".