pub struct FileAnalysis {
pub path: PathBuf,
pub language: String,
pub total_lines: usize,
pub entities: Vec<CodeEntity>,
pub imports: Vec<String>,
pub exports: Vec<String>,
pub is_entrypoint: bool,
pub is_test: bool,
pub is_config: bool,
pub framework_hints: Vec<String>,
pub category: ChunkCategory,
}Expand description
Analysis result for a file
Fields§
§path: PathBuf§language: String§total_lines: usize§entities: Vec<CodeEntity>§imports: Vec<String>§exports: Vec<String>§is_entrypoint: bool§is_test: bool§is_config: bool§framework_hints: Vec<String>§category: ChunkCategoryTrait Implementations§
Source§impl Clone for FileAnalysis
impl Clone for FileAnalysis
Source§fn clone(&self) -> FileAnalysis
fn clone(&self) -> FileAnalysis
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 FileAnalysis
impl Debug for FileAnalysis
Source§impl<'de> Deserialize<'de> for FileAnalysis
impl<'de> Deserialize<'de> for FileAnalysis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FileAnalysis
impl RefUnwindSafe for FileAnalysis
impl Send for FileAnalysis
impl Sync for FileAnalysis
impl Unpin for FileAnalysis
impl UnwindSafe for FileAnalysis
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