pub struct SolidLinter { /* private fields */ }
Implementations§
Source§impl SolidLinter
impl SolidLinter
pub fn new() -> Self
pub fn new_fileless() -> Self
pub fn initialize_rules( &mut self, rules_config: &str, ) -> Result<(), SolidHunterError>
pub fn initialize_excluded_files( &mut self, excluded_filepaths: Option<&Vec<String>>, filepaths: &Vec<String>, ) -> Result<(), SolidHunterError>
pub fn parse_file(&mut self, filepath: String) -> LintResult
pub fn parse_content(&mut self, filepath: &str, content: &str) -> LintResult
pub fn parse_folder(&mut self, folder: &str) -> Vec<LintResult> ⓘ
pub fn parse_path(&mut self, path: &str) -> Vec<LintResult> ⓘ
pub fn delete_file(&mut self, path: &str)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SolidLinter
impl !RefUnwindSafe for SolidLinter
impl !Send for SolidLinter
impl !Sync for SolidLinter
impl Unpin for SolidLinter
impl !UnwindSafe for SolidLinter
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