pub struct DiffAnalysisConfig {
pub include_staged: bool,
pub include_unstaged: bool,
pub include_commits: Option<Vec<String>>,
pub commit_range: Option<String>,
pub branch_comparison: Option<String>,
pub max_commits: usize,
pub max_diff_size_kb: usize,
pub ignore_patterns: Vec<String>,
pub relevance_threshold: f64,
pub include_binary_diffs: bool,
pub include_generated_files: bool,
pub max_lines_per_diff: usize,
}
Expand description
Configuration for diff-based analysis
Fields§
§include_staged: bool
§include_unstaged: bool
§include_commits: Option<Vec<String>>
§commit_range: Option<String>
§branch_comparison: Option<String>
§max_commits: usize
§max_diff_size_kb: usize
§ignore_patterns: Vec<String>
§relevance_threshold: f64
§include_binary_diffs: bool
§include_generated_files: bool
§max_lines_per_diff: usize
Trait Implementations§
Source§impl Clone for DiffAnalysisConfig
impl Clone for DiffAnalysisConfig
Source§fn clone(&self) -> DiffAnalysisConfig
fn clone(&self) -> DiffAnalysisConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DiffAnalysisConfig
impl Debug for DiffAnalysisConfig
Auto Trait Implementations§
impl Freeze for DiffAnalysisConfig
impl RefUnwindSafe for DiffAnalysisConfig
impl Send for DiffAnalysisConfig
impl Sync for DiffAnalysisConfig
impl Unpin for DiffAnalysisConfig
impl UnwindSafe for DiffAnalysisConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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