pub enum DiffScope {
DiffOnly,
All,
}Expand description
Which files the project-delta and indirect-change sections report on.
Coverage is measured by running the test suite twice (baseline vs head), and
that measurement is not perfectly reproducible — lines in code with any
run-to-run variance flip even when the source is identical. Only changes in
files the diff touches are causally attributable to the PR; everything else
is measurement noise. DiffOnly (the default) reports only touched files,
with a magnitude-gated note for substantially-moved unchanged files so real
cross-file effects still surface.
Variants§
DiffOnly
Report deltas/indirect only for files the diff touches (plus the
notable_unchanged magnitude-gated note). The default.
All
Report deltas/indirect for all files (legacy; includes the cross-run measurement noise on files the PR never modified).
Trait Implementations§
impl Copy for DiffScope
impl Eq for DiffScope
impl StructuralPartialEq for DiffScope
Auto Trait Implementations§
impl Freeze for DiffScope
impl RefUnwindSafe for DiffScope
impl Send for DiffScope
impl Sync for DiffScope
impl Unpin for DiffScope
impl UnsafeUnpin for DiffScope
impl UnwindSafe for DiffScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.