pub struct Markers {
pub head: BTreeMap<String, FileMarkers>,
pub base: BTreeMap<String, FileMarkers>,
}Expand description
The source markers found on each side of the comparison.
ignore regions never reach here — they are applied as a filter on the
reports themselves before analysis, so their lines simply do not exist by
this point. What remains is tolerate, which needs the analysis to know
which head lines to score against the baseline instead of against the head
run.
Only the head tolerated set drives masking. The base side is carried for reporting only: a tolerated base line whose region disappeared in head has nothing left to mask, and one that survives is reached through its head counterpart anyway.
Fields§
§head: BTreeMap<String, FileMarkers>Head-revision markers, keyed by repo-relative head path.
base: BTreeMap<String, FileMarkers>Base-revision markers, keyed by repo-relative base path.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Markers
impl RefUnwindSafe for Markers
impl Send for Markers
impl Sync for Markers
impl Unpin for Markers
impl UnsafeUnpin for Markers
impl UnwindSafe for Markers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more