pub struct FileAnalyzer;Expand description
File context analyzer
Implementations§
Source§impl FileAnalyzer
impl FileAnalyzer
Sourcepub fn analyze_file(path: &Path, change_type: &str) -> FileContext
pub fn analyze_file(path: &Path, change_type: &str) -> FileContext
Analyze a file and determine its context within the project
Sourcepub fn analyze_file_set(files: &[(PathBuf, String)]) -> Vec<FileContext>
pub fn analyze_file_set(files: &[(PathBuf, String)]) -> Vec<FileContext>
Analyze multiple files to understand the scope of changes
Sourcepub fn primary_architectural_impact(
contexts: &[FileContext],
) -> ArchitecturalLayer
pub fn primary_architectural_impact( contexts: &[FileContext], ) -> ArchitecturalLayer
Determine the primary architectural impact of a set of file changes
Sourcepub fn is_architectural_change(contexts: &[FileContext]) -> bool
pub fn is_architectural_change(contexts: &[FileContext]) -> bool
Determine if the file changes suggest a significant architectural change
Auto Trait Implementations§
impl Freeze for FileAnalyzer
impl RefUnwindSafe for FileAnalyzer
impl Send for FileAnalyzer
impl Sync for FileAnalyzer
impl Unpin for FileAnalyzer
impl UnwindSafe for FileAnalyzer
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