pub struct FileInfo {
pub path: String,
pub token_count: usize,
pub file_type: String,
pub importance: f64,
pub dependencies: Vec<String>,
pub dependents: Vec<String>,
pub exposed_interfaces: Vec<String>,
pub consumed_interfaces: Vec<String>,
}Expand description
File information for selection decisions
Fields§
§path: StringFile path
token_count: usizeEstimated token count
file_type: StringFile type (source, test, config, etc.)
importance: f64Importance score (0.0-1.0)
dependencies: Vec<String>Dependencies of this file
dependents: Vec<String>Files that depend on this file
exposed_interfaces: Vec<String>Interfaces exposed by this file
consumed_interfaces: Vec<String>Interfaces consumed by this file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
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