pub trait PatchExt {
// Required methods
fn touched(&self, include_parents: bool) -> BTreeSet<Path>;
fn conflicts_with(&self, other: &Patch) -> Vec<Conflict>;
}Expand description
Extension trait for Patch to compute touched paths.
Required Methods§
Sourcefn touched(&self, include_parents: bool) -> BTreeSet<Path>
fn touched(&self, include_parents: bool) -> BTreeSet<Path>
Compute the paths touched by this patch.
Sourcefn conflicts_with(&self, other: &Patch) -> Vec<Conflict>
fn conflicts_with(&self, other: &Patch) -> Vec<Conflict>
Check if this patch conflicts with another patch.