pub struct AnalyzerConfig {
pub max_files: usize,
pub max_file_size: u64,
pub timeout_ms: u64,
pub follow_symlinks: bool,
pub include_hidden: bool,
pub extensions: Vec<String>,
pub ignore_dirs: Vec<String>,
pub num_threads: usize,
}Expand description
Configuration for the token analyzer
Fields§
§max_files: usizeMaximum number of files to scan (0 = unlimited)
max_file_size: u64Maximum file size in bytes to scan (skip larger files)
timeout_ms: u64Timeout for the entire analysis in milliseconds (0 = no timeout)
follow_symlinks: boolWhether to follow symbolic links
Whether to include hidden files
extensions: Vec<String>File extensions to scan (empty = use defaults)
ignore_dirs: Vec<String>Additional directories to ignore
num_threads: usizeNumber of threads to use (0 = auto)
Implementations§
Trait Implementations§
Source§impl Clone for AnalyzerConfig
impl Clone for AnalyzerConfig
Source§fn clone(&self) -> AnalyzerConfig
fn clone(&self) -> AnalyzerConfig
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 AnalyzerConfig
impl Debug for AnalyzerConfig
Auto Trait Implementations§
impl Freeze for AnalyzerConfig
impl RefUnwindSafe for AnalyzerConfig
impl Send for AnalyzerConfig
impl Sync for AnalyzerConfig
impl Unpin for AnalyzerConfig
impl UnwindSafe for AnalyzerConfig
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