pub struct DiffContextOutput {
pub name: String,
pub output_type: String,
pub commit_message: Option<String>,
pub changed_files: Vec<String>,
pub deleted_files: Vec<String>,
pub renamed_files: Vec<(String, String)>,
pub lockfile_changes: Vec<String>,
pub ignored_changes: Vec<String>,
pub policy_excluded_count: usize,
pub fragment_count: usize,
pub fragments: Vec<FragmentEntry>,
pub latency: Option<LatencyBreakdown>,
}Fields§
§name: String§output_type: String§commit_message: Option<String>§changed_files: Vec<String>§deleted_files: Vec<String>§renamed_files: Vec<(String, String)>§lockfile_changes: Vec<String>Lock files touched by the range. Paths only — the raw hunks are thousands of tokens of checksum churn for one line of signal (#112).
ignored_changes: Vec<String>Changed files withheld by ignore rules. Silent exclusion misreads as “the diff did not touch this” (#188: a reviewer filed “no tests” against a change whose tests the tool had filtered).
policy_excluded_count: usizeFiles excluded by .diffctx/ignore or secret-path policy — count
only, see ScoredState::policy_excluded_count.
fragment_count: usize§fragments: Vec<FragmentEntry>§latency: Option<LatencyBreakdown>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiffContextOutput
impl RefUnwindSafe for DiffContextOutput
impl Send for DiffContextOutput
impl Sync for DiffContextOutput
impl Unpin for DiffContextOutput
impl UnsafeUnpin for DiffContextOutput
impl UnwindSafe for DiffContextOutput
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more