pub struct PreciseFrameworkDetector { /* private fields */ }
Expand description
Framework detection engine with precise pattern matching
Implementations§
Source§impl PreciseFrameworkDetector
impl PreciseFrameworkDetector
pub fn new() -> Self
Sourcepub fn detect(
&self,
context: &ProjectContext,
file_path: Option<&Path>,
) -> Vec<DetectionScore>
pub fn detect( &self, context: &ProjectContext, file_path: Option<&Path>, ) -> Vec<DetectionScore>
Detect framework with scoring algorithm
Sourcepub fn best_match(
&self,
context: &ProjectContext,
file_path: Option<&Path>,
min_confidence: f32,
) -> Option<FrameworkType>
pub fn best_match( &self, context: &ProjectContext, file_path: Option<&Path>, min_confidence: f32, ) -> Option<FrameworkType>
Get the best match with minimum confidence threshold
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreciseFrameworkDetector
impl RefUnwindSafe for PreciseFrameworkDetector
impl Send for PreciseFrameworkDetector
impl Sync for PreciseFrameworkDetector
impl Unpin for PreciseFrameworkDetector
impl UnwindSafe for PreciseFrameworkDetector
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