PatchExt

Trait PatchExt 

Source
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§

Source

fn touched(&self, include_parents: bool) -> BTreeSet<Path>

Compute the paths touched by this patch.

Source

fn conflicts_with(&self, other: &Patch) -> Vec<Conflict>

Check if this patch conflicts with another patch.

Implementors§